toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'type'] = type;
if (id != null) {
json[r'id'] = id;
}
if (name != null) {
json[r'name'] = name;
}
if (orgID != null) {
json[r'orgID'] = orgID;
}
if (org != null) {
json[r'org'] = org;
}
return json;
}