deserialize<T> method

  1. @override
T deserialize<T>(
  1. String jsonString
)
override

Implementation

@override
T deserialize<T>(String jsonString) {
  if (defaultDeserializer.containsKey(T)) {
    return defaultDeserializer[T]!(jsonString);
  }
  dynamic jsonObject = jsonDecode(jsonString);
  return _fromMap(jsonObject, T);
}