toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (groupId != null) {
    _json[r'group_id'] = groupId;
  }
  if (totalMemberCount != null) {
    _json[r'total_member_count'] = totalMemberCount;
  }
  return _json;
}