toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (orgID != null) {
json[r'orgID'] = orgID;
}
if (org != null) {
json[r'org'] = org;
}
json[r'bucketID'] = bucketID;
json[r'database'] = database;
json[r'retention_policy'] = retentionPolicy;
if (default_ != null) {
json[r'default'] = default_;
}
return json;
}