toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (teamId != null) {
    _json[r'team_id'] = teamId;
  }
  if (msgCount != null) {
    _json[r'msg_count'] = msgCount;
  }
  if (mentionCount != null) {
    _json[r'mention_count'] = mentionCount;
  }
  return _json;
}