Image.fromJson constructor

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

Implementation

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