toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final encryptionConfiguration = this.encryptionConfiguration;
  final outputLocation = this.outputLocation;
  final removeEncryptionConfiguration = this.removeEncryptionConfiguration;
  final removeOutputLocation = this.removeOutputLocation;
  return {
    if (encryptionConfiguration != null)
      'EncryptionConfiguration': encryptionConfiguration,
    if (outputLocation != null) 'OutputLocation': outputLocation,
    if (removeEncryptionConfiguration != null)
      'RemoveEncryptionConfiguration': removeEncryptionConfiguration,
    if (removeOutputLocation != null)
      'RemoveOutputLocation': removeOutputLocation,
  };
}