ProvenanceBuilder.fromJson constructor
ProvenanceBuilder.fromJson(
- Map json_
Implementation
ProvenanceBuilder.fromJson(core.Map json_)
: this(
builderDependencies: json_.containsKey('builderDependencies')
? (json_['builderDependencies'] as core.List)
.map((value) => ResourceDescriptor.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
version: json_.containsKey('version')
? (json_['version'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
);