toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final exportAssetToSignedUrl = this.exportAssetToSignedUrl;
  final exportAssetsToS3 = this.exportAssetsToS3;
  final importAssetFromSignedUrl = this.importAssetFromSignedUrl;
  final importAssetsFromS3 = this.importAssetsFromS3;
  return {
    if (exportAssetToSignedUrl != null)
      'ExportAssetToSignedUrl': exportAssetToSignedUrl,
    if (exportAssetsToS3 != null) 'ExportAssetsToS3': exportAssetsToS3,
    if (importAssetFromSignedUrl != null)
      'ImportAssetFromSignedUrl': importAssetFromSignedUrl,
    if (importAssetsFromS3 != null) 'ImportAssetsFromS3': importAssetsFromS3,
  };
}