toJson method
Implementation
Map<String, dynamic> toJson() {
final bucket = this.bucket;
final roleArn = this.roleArn;
final keyPrefix = this.keyPrefix;
return {
'bucket': bucket,
'roleArn': roleArn,
if (keyPrefix != null) 'keyPrefix': keyPrefix,
};
}