ResponseDetails.fromJson constructor

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

Implementation

factory ResponseDetails.fromJson(Map<String, dynamic> json) {
  return ResponseDetails(
    exportAssetToSignedUrl: json['ExportAssetToSignedUrl'] != null
        ? ExportAssetToSignedUrlResponseDetails.fromJson(
            json['ExportAssetToSignedUrl'] as Map<String, dynamic>)
        : null,
    exportAssetsToS3: json['ExportAssetsToS3'] != null
        ? ExportAssetsToS3ResponseDetails.fromJson(
            json['ExportAssetsToS3'] as Map<String, dynamic>)
        : null,
    importAssetFromSignedUrl: json['ImportAssetFromSignedUrl'] != null
        ? ImportAssetFromSignedUrlResponseDetails.fromJson(
            json['ImportAssetFromSignedUrl'] as Map<String, dynamic>)
        : null,
    importAssetsFromS3: json['ImportAssetsFromS3'] != null
        ? ImportAssetsFromS3ResponseDetails.fromJson(
            json['ImportAssetsFromS3'] as Map<String, dynamic>)
        : null,
  );
}