JsonCodecExtensions extension

JsonCodec extensions.

on

Methods

decodeWithReviver(String source) → dynamic
decode method with a reviver to instantiate the correct objects from model
safeEncode(Object obj) String
encode method with toEncodable to correctly encode a DateTime object.