JsonSerializable constructor

const JsonSerializable(
  1. {bool anyMap,
  2. bool checked,
  3. bool createFactory,
  4. bool createToJson,
  5. bool disallowUnrecognizedKeys,
  6. bool explicitToJson,
  7. FieldRename fieldRename,
  8. bool ignoreUnannotated,
  9. bool includeIfNull,
  10. bool nullable}
)

Creates a new JsonSerializable instance.

Implementation

const JsonSerializable({
  this.anyMap,
  this.checked,
  this.createFactory,
  this.createToJson,
  this.disallowUnrecognizedKeys,
  this.explicitToJson,
  this.fieldRename,
  this.ignoreUnannotated,
  this.includeIfNull,
  this.nullable,
});