toJson method

Map<String, dynamic> toJson()

Implementation

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