toJson method
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,
};
}