JsonKey constructor Null safety
Creates a new JsonKey instance.
Only required when the default behavior is not desired.
Implementation
const JsonKey({
@Deprecated('Has no effect') bool? nullable,
this.defaultValue,
this.disallowNullValue,
this.fromJson,
this.ignore,
this.includeIfNull,
this.name,
this.readValue,
this.required,
this.toJson,
this.unknownEnumValue,
});