toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (channelId != null) 'channelId': channelId!,
if (defaultLanguage != null) 'defaultLanguage': defaultLanguage!,
if (localized != null) 'localized': localized!,
if (position != null) 'position': position!,
if (style != null) 'style': style!,
if (title != null) 'title': title!,
if (type != null) 'type': type!,
};