toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (user != null) {
json[r'user'] = user;
}
if (org != null) {
json[r'org'] = org;
}
if (bucket != null) {
json[r'bucket'] = bucket;
}
if (auth != null) {
json[r'auth'] = auth;
}
return json;
}