Details.fromJson constructor
Details.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Details.fromJson(Map<String, dynamic> json) {
return Details(
importAssetFromSignedUrlJobErrorDetails:
json['ImportAssetFromSignedUrlJobErrorDetails'] != null
? ImportAssetFromSignedUrlJobErrorDetails.fromJson(
json['ImportAssetFromSignedUrlJobErrorDetails']
as Map<String, dynamic>)
: null,
importAssetsFromS3JobErrorDetails:
(json['ImportAssetsFromS3JobErrorDetails'] as List?)
?.whereNotNull()
.map((e) => AssetSourceEntry.fromJson(e as Map<String, dynamic>))
.toList(),
);
}