ClassConfig constructor
const
ClassConfig({
- required bool anyMap,
- required bool checked,
- required String constructor,
- required bool createFactory,
- required bool createToJson,
- required bool createFieldMap,
- required bool createJsonKeys,
- required bool createPerFieldToJson,
- required bool disallowUnrecognizedKeys,
- required bool explicitToJson,
- required FieldRename fieldRename,
- required bool genericArgumentFactories,
- required bool ignoreUnannotated,
- required bool includeIfNull,
- List<
DartObject> converters = const [], - Map<
String, String> ctorParamDefaults = const {},
Implementation
const ClassConfig({
required this.anyMap,
required this.checked,
required this.constructor,
required this.createFactory,
required this.createToJson,
required this.createFieldMap,
required this.createJsonKeys,
required this.createPerFieldToJson,
required this.disallowUnrecognizedKeys,
required this.explicitToJson,
required this.fieldRename,
required this.genericArgumentFactories,
required this.ignoreUnannotated,
required this.includeIfNull,
this.converters = const [],
this.ctorParamDefaults = const {},
});