$Artifact.fromJson constructor
$Artifact.fromJson(
- Map json_
Implementation
$Artifact.fromJson(core.Map json_)
: this(
checksum: json_.containsKey('checksum')
? json_['checksum'] as core.String
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
names: json_.containsKey('names')
? (json_['names'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);