toJson method

Map<String, dynamic> toJson()

Implementation

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