fromJson<T> method

T fromJson <T>(
  1. dynamic jsonValue,
  2. [DeserializationOptions options = defaultDeserializationOptions]
)

Converts JSON string to Dart object of type T

Implementation

static T fromJson<T>(dynamic jsonValue,
    [DeserializationOptions options = defaultDeserializationOptions]) {
  return deserialize<T>(jsonValue, options);
}