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? createFactory,
  7. bool? createToJson,
  8. bool? disallowUnrecognizedKeys,
  9. bool? explicitToJson,
  10. FieldRename? fieldRename,
  11. bool? ignoreUnannotated,
  12. bool? includeIfNull,
  13. List<JsonConverter>? converters,
  14. bool? genericArgumentFactories,
  15. 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.createFactory,
  this.createToJson,
  this.disallowUnrecognizedKeys,
  this.explicitToJson,
  this.fieldRename,
  this.ignoreUnannotated,
  this.includeIfNull,
  this.converters,
  this.genericArgumentFactories,
  this.createPerFieldToJson,
});