defaultValue property Null safety

Object? defaultValue

The value to use if the source JSON does not contain this key or if the value is null.

Also supported: a top-level or static Function or a constructor with no required parameters and a return type compatible with the field being assigned.


final Object? defaultValue;