JsonCodecExtensions extension
JsonCodec extensions.
- on
Methods
-
decodeWithReviver(
String source) → dynamic -
decode method with a
reviver
to instantiate the correct objects frommodel
-
safeEncode(
Object obj) → String -
encode method with
toEncodable
to correctly encode a DateTime object.