JsonSerializable constructor
const
JsonSerializable({
- @Deprecated('Has no effect') bool? nullable,
- bool? anyMap,
- bool? checked,
- String? constructor,
- bool? createFieldMap,
- bool? createJsonKeys,
- bool? createFactory,
- bool? createToJson,
- bool? disallowUnrecognizedKeys,
- bool? explicitToJson,
- FieldRename? fieldRename,
- bool? ignoreUnannotated,
- bool? includeIfNull,
- List<
JsonConverter> ? converters, - bool? genericArgumentFactories,
- 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,
});