toJson method
Implementation
Map<String, dynamic> toJson() {
final bucket = this.bucket;
final key = this.key;
final objectVersion = this.objectVersion;
final roleArn = this.roleArn;
return {
if (bucket != null) 'Bucket': bucket,
if (key != null) 'Key': key,
if (objectVersion != null) 'ObjectVersion': objectVersion,
if (roleArn != null) 'RoleArn': roleArn,
};
}