toJson method
Implementation
Map<String, dynamic> toJson() {
final groupName = this.groupName;
final ownerAlias = this.ownerAlias;
return {
if (groupName != null) 'GroupName': groupName,
if (ownerAlias != null) 'OwnerAlias': ownerAlias,
};
}