123456789101112131415161718192021222324252627282930313233 |
- // ignore_for_file: non_constant_identifier_names
- // ignore_for_file: camel_case_types
- // ignore_for_file: prefer_single_quotes
- // This file is automatically generated. DO NOT EDIT, all your changes would be lost.
- import 'package:meta/meta_meta.dart';
- @Target({TargetKind.classType})
- class JsonSerializable {
- const JsonSerializable();
- }
- @Target({TargetKind.field})
- class JSONField {
- //Specify the parse field name
- final String? name;
- //Whether to participate in toJson
- final bool? serialize;
-
- //Whether to participate in fromMap
- final bool? deserialize;
-
- //Whether to participate in copyWith
- final bool? copyWith;
-
- //Enumeration or not
- final bool? isEnum;
-
- const JSONField({this.name, this.serialize, this.deserialize, this.isEnum, this.copyWith});
- }
|