toJson method
Implementation
Map<String, Object?> toJson() {
var groupId = this.groupId;
var name = this.name;
var self = this.self;
final json = <String, Object?>{};
if (groupId != null) {
json[r'groupId'] = groupId;
}
if (name != null) {
json[r'name'] = name;
}
if (self != null) {
json[r'self'] = self;
}
return json;
}