GetUploadStatusResponse.fromJson constructor
GetUploadStatusResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GetUploadStatusResponse.fromJson(Map<String, dynamic> json) {
return GetUploadStatusResponse(
createdDate: nonNullableTimeStampFromJson(json['createdDate'] as Object),
uploadId: json['uploadId'] as String,
uploadStatus: (json['uploadStatus'] as String).toUploadStatus(),
failureReason: (json['failureReason'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
namespaceArn: json['namespaceArn'] as String?,
namespaceName: json['namespaceName'] as String?,
namespaceVersion: json['namespaceVersion'] as int?,
);
}