$Material.fromJson constructor
$Material.fromJson(
- Map json_
Implementation
$Material.fromJson(core.Map json_)
: this(
digest: json_.containsKey('digest')
? (json_['digest'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
);