toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final bucketName = this.bucketName;
  final bucketPrefix = this.bucketPrefix;
  final encryptionConfig = this.encryptionConfig;
  return {
    'BucketName': bucketName,
    'BucketPrefix': bucketPrefix,
    if (encryptionConfig != null) 'EncryptionConfig': encryptionConfig,
  };
}