DescribeImageResponse.fromJson constructor

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

Implementation

factory DescribeImageResponse.fromJson(Map<String, dynamic> json) {
  return DescribeImageResponse(
    creationTime: timeStampFromJson(json['CreationTime']),
    description: json['Description'] as String?,
    displayName: json['DisplayName'] as String?,
    failureReason: json['FailureReason'] as String?,
    imageArn: json['ImageArn'] as String?,
    imageName: json['ImageName'] as String?,
    imageStatus: (json['ImageStatus'] as String?)?.toImageStatus(),
    lastModifiedTime: timeStampFromJson(json['LastModifiedTime']),
    roleArn: json['RoleArn'] as String?,
  );
}