Blame view

lib/generated/json/app_config_entity.g.dart 775 Bytes
28f20da9   吴启风   feat:针对apple审核对支付...
1
2
3
  import 'package:wow_english/generated/json/base/json_convert_content.dart';
  import 'package:wow_english/models/app_config_entity.dart';
  
2a3621f8   吴启风   feat:课程层级调整(增加unit层)
4
5
  AppConfigEntity $AppConfigEntityFromJson(Map<String, dynamic> json) {
    final AppConfigEntity appConfigEntity = AppConfigEntity();
28f20da9   吴启风   feat:针对apple审核对支付...
6
7
    final String? safe = jsonConvert.convert<String>(json['safe']);
    if (safe != null) {
2a3621f8   吴启风   feat:课程层级调整(增加unit层)
8
      appConfigEntity.safe = safe;
28f20da9   吴启风   feat:针对apple审核对支付...
9
    }
2a3621f8   吴启风   feat:课程层级调整(增加unit层)
10
    return appConfigEntity;
28f20da9   吴启风   feat:针对apple审核对支付...
11
12
  }
  
2a3621f8   吴启风   feat:课程层级调整(增加unit层)
13
  Map<String, dynamic> $AppConfigEntityToJson(AppConfigEntity entity) {
28f20da9   吴启风   feat:针对apple审核对支付...
14
    final Map<String, dynamic> data = <String, dynamic>{};
28f20da9   吴启风   feat:针对apple审核对支付...
15
16
17
18
    data['safe'] = entity.safe;
    return data;
  }
  
2a3621f8   吴启风   feat:课程层级调整(增加unit层)
19
  extension AppConfigEntityExtension on AppConfigEntity {
cde7505e   吴启风   feat:应用内升级
20
    AppConfigEntity copyWith({
28f20da9   吴启风   feat:针对apple审核对支付...
21
22
      String? safe,
    }) {
cde7505e   吴启风   feat:应用内升级
23
      return AppConfigEntity()
28f20da9   吴启风   feat:针对apple审核对支付...
24
25
26
        ..safe = safe ?? this.safe;
    }
  }