toJson method

Map<String, dynamic> toJson()

Implementation

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