fromJson<T> abstract method
Convenience method for when you have a JSON string and know the type
you're deserializing. Specify the type by specifying its Serializer
class. Equivalent to calling deserialize with a specifiedType
then
calling json.decode
.
Implementation
T? fromJson<T>(Serializer<T> serializer, String serialized);