convertFromJson method Null safety
- J? value
override
Implementation
@override
D? convertFromJson(J? value) => optional
? optionalFromJson(value) ?? defaultValue
: mandatoryFromJson(value as J);
@override
D? convertFromJson(J? value) => optional
? optionalFromJson(value) ?? defaultValue
: mandatoryFromJson(value as J);