toJson method
Implementation
Map<String, dynamic> toJson() {
final bucket = this.bucket;
final name = this.name;
final version = this.version;
return {
if (bucket != null) 'Bucket': bucket,
if (name != null) 'Name': name,
if (version != null) 'Version': version,
};
}