toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'id'] = id;
if (rev != null) {
json[r'rev'] = rev;
}
if (deletionDate != null) {
json[r'deletionDate'] = deletionDate;
}
if (name != null) {
json[r'name'] = name;
}
if (password != null) {
json[r'password'] = password;
}
json[r'servers'] = servers;
json[r'superAdmin'] = superAdmin;
json[r'properties'] = properties.toList();
if (superGroup != null) {
json[r'superGroup'] = superGroup;
}
return json;
}