ArtifactDetail.fromJson constructor

ArtifactDetail.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ArtifactDetail.fromJson(Map<String, dynamic> json) {
  return ArtifactDetail(
    name: json['name'] as String?,
    s3location: json['s3location'] != null
        ? S3Location.fromJson(json['s3location'] as Map<String, dynamic>)
        : null,
  );
}