Artifact.fromJson constructor
Implementation
factory Artifact.fromJson(Map<String, dynamic> json) {
return Artifact(
location: json['location'] != null
? ArtifactLocation.fromJson(json['location'] as Map<String, dynamic>)
: null,
name: json['name'] as String?,
revision: json['revision'] as String?,
);
}