CreateWorldExportJobResponse.fromJson constructor
CreateWorldExportJobResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory CreateWorldExportJobResponse.fromJson(Map<String, dynamic> json) {
return CreateWorldExportJobResponse(
arn: json['arn'] as String?,
clientRequestToken: json['clientRequestToken'] as String?,
createdAt: timeStampFromJson(json['createdAt']),
failureCode:
(json['failureCode'] as String?)?.toWorldExportJobErrorCode(),
iamRole: json['iamRole'] as String?,
outputLocation: json['outputLocation'] != null
? OutputLocation.fromJson(
json['outputLocation'] as Map<String, dynamic>)
: null,
status: (json['status'] as String?)?.toWorldExportJobStatus(),
tags: (json['tags'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
);
}