decodeWithType method
Decodes the provided json String if it has been encoded with encodeWithType.
Implementation
Object? decodeWithType(String data) {
return deserializeByClassName(jsonDecode(data));
}
Decodes the provided json String if it has been encoded with encodeWithType.
Object? decodeWithType(String data) {
return deserializeByClassName(jsonDecode(data));
}