JsonSerializable constructor

const JsonSerializable({
  1. @Deprecated('Has no effect') bool? nullable,
  2. bool? anyMap,
  3. bool? checked,
  4. String? constructor,
  5. bool? createFieldMap,
  6. bool? createJsonKeys,
  7. bool? createFactory,
  8. bool? createToJson,
  9. bool? disallowUnrecognizedKeys,
  10. bool? explicitToJson,
  11. FieldRename? fieldRename,
  12. bool? ignoreUnannotated,
  13. bool? includeIfNull,
  14. List<JsonConverter>? converters,
  15. bool? genericArgumentFactories,
  16. bool? createPerFieldToJson,
})

Creates a new JsonSerializable instance.

Implementation

const JsonSerializable({
  @Deprecated('Has no effect') bool? nullable,
  this.anyMap,
  this.checked,
  this.constructor,
  this.createFieldMap,
  this.createJsonKeys,
  this.createFactory,
  this.createToJson,
  this.disallowUnrecognizedKeys,
  this.explicitToJson,
  this.fieldRename,
  this.ignoreUnannotated,
  this.includeIfNull,
  this.converters,
  this.genericArgumentFactories,
  this.createPerFieldToJson,
});