toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final assetDestinations = this.assetDestinations;
  final dataSetId = this.dataSetId;
  final revisionId = this.revisionId;
  final encryption = this.encryption;
  return {
    'AssetDestinations': assetDestinations,
    'DataSetId': dataSetId,
    'RevisionId': revisionId,
    if (encryption != null) 'Encryption': encryption,
  };
}