deserialize method
T
deserialize(
- Serializers serializers,
- Object serialized, {
- FullType specifiedType = FullType.unspecified,
override
Deserializes serialized
.
serialized
is a boolean, an integer, a double or a String.
Use serializers
as needed for nested deserialization. Information about
the type being deserialized is provided in specifiedType
.
Implementation
@override
T deserialize(Serializers serializers, Object serialized,
{FullType specifiedType = FullType.unspecified}) {
return serializers.deserialize(serialized, specifiedType: FullType(T)) as T;
}