defaults constant

ClassConfig const defaults

An instance of JsonSerializable with all fields set to their default values.

Implementation

static const defaults = ClassConfig(
  anyMap: false,
  checked: false,
  constructor: '',
  createFactory: true,
  createToJson: true,
  createFieldMap: false,
  createJsonKeys: false,
  createPerFieldToJson: false,
  disallowUnrecognizedKeys: false,
  explicitToJson: false,
  fieldRename: FieldRename.none,
  genericArgumentFactories: false,
  ignoreUnannotated: false,
  includeIfNull: true,
);