toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (teamCount != null) {
    _json[r'team_count'] = teamCount;
  }
  if (channelCount != null) {
    _json[r'channel_count'] = channelCount;
  }
  return _json;
}