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;
}
_json[r'team_ids'] = teamIds;
_json[r'channel_ids'] = channelIds;
return _json;
}