decodeWithType method

Object? decodeWithType(
  1. String data
)
inherited

Decodes the provided json String if it has been encoded with encodeWithType.

Implementation

Object? decodeWithType(String data) {
  return deserializeByClassName(jsonDecode(data));
}