ArtifactSummary.fromJson constructor
ArtifactSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ArtifactSummary.fromJson(Map<String, dynamic> json) {
return ArtifactSummary(
artifactArn: json['ArtifactArn'] as String?,
artifactName: json['ArtifactName'] as String?,
artifactType: json['ArtifactType'] as String?,
creationTime: timeStampFromJson(json['CreationTime']),
lastModifiedTime: timeStampFromJson(json['LastModifiedTime']),
source: json['Source'] != null
? ArtifactSource.fromJson(json['Source'] as Map<String, dynamic>)
: null,
);
}