json property
dynamic
get
json
Parses the data field as JSON and returns the decoded result.
The result is cached; subsequent accesses return the same object without re-parsing. The cache is invalidated when data is set.
Implementation
dynamic get json {
if (!_jsonCached) {
_cachedJson = jsonDecode(data);
_jsonCached = true;
}
return _cachedJson;
}