fromEJsonString<T> function

T fromEJsonString<T>(
  1. String source
)

Parses source to EJsonValue and convert to type T.

Throws InvalidEJson if source is not valid for T. Throws MissingDecoder if no decoder is registered for T.

Implementation

T fromEJsonString<T>(String source) => fromEJson(jsonDecode(source));