toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (channelId != null) {
_json[r'channel_id'] = channelId;
}
if (postDuration != null) {
_json[r'post_duration'] = postDuration;
}
return _json;
}