ValueSerializer class Null safety
Serializer responsible for mapping atomic types from and to json.
T>( dynamic json) → T
- Inverse of toJson: Converts a value obtained from JsonCodec.decode into a value that can be hold by data classes.
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
T>( T value) → dynamic
valueto something that can be passed to JsonCodec.encode.
) → String
A string representation of this object. [...]