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