toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (displayName != null) {
_json[r'display_name'] = displayName;
}
if (postDuration != null) {
_json[r'post_duration'] = postDuration;
}
if (id != null) {
_json[r'id'] = id;
}
if (teamCount != null) {
_json[r'team_count'] = teamCount;
}
if (channelCount != null) {
_json[r'channel_count'] = channelCount;
}
return _json;
}