toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (status != null) {
json[r'status'] = status;
}
if (description != null) {
json[r'description'] = description;
}
json[r'orgID'] = orgID;
if (userID != null) {
json[r'userID'] = userID;
}
json[r'permissions'] = permissions;
return json;
}