RelatedAsset.fromJson constructor
RelatedAsset.fromJson(
- Map json_
Implementation
RelatedAsset.fromJson(core.Map json_)
: this(
ancestors: json_.containsKey('ancestors')
? (json_['ancestors'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
asset:
json_.containsKey('asset') ? json_['asset'] as core.String : null,
assetType: json_.containsKey('assetType')
? json_['assetType'] as core.String
: null,
relationshipType: json_.containsKey('relationshipType')
? json_['relationshipType'] as core.String
: null,
);