ClassConfig constructor

const ClassConfig({
  1. required bool anyMap,
  2. required bool checked,
  3. required String constructor,
  4. required bool createFactory,
  5. required bool createToJson,
  6. required bool createFieldMap,
  7. required bool createJsonKeys,
  8. required bool createPerFieldToJson,
  9. required bool disallowUnrecognizedKeys,
  10. required bool explicitToJson,
  11. required FieldRename fieldRename,
  12. required bool genericArgumentFactories,
  13. required bool ignoreUnannotated,
  14. required bool includeIfNull,
  15. List<DartObject> converters = const [],
  16. 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 {},
});