toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (country != null) 'country': country!,
  if (defaultLanguage != null) 'defaultLanguage': defaultLanguage!,
  if (defaultTab != null) 'defaultTab': defaultTab!,
  if (description != null) 'description': description!,
  if (featuredChannelsTitle != null)
    'featuredChannelsTitle': featuredChannelsTitle!,
  if (featuredChannelsUrls != null)
    'featuredChannelsUrls': featuredChannelsUrls!,
  if (keywords != null) 'keywords': keywords!,
  if (moderateComments != null) 'moderateComments': moderateComments!,
  if (profileColor != null) 'profileColor': profileColor!,
  if (showBrowseView != null) 'showBrowseView': showBrowseView!,
  if (showRelatedChannels != null)
    'showRelatedChannels': showRelatedChannels!,
  if (title != null) 'title': title!,
  if (trackingAnalyticsAccountId != null)
    'trackingAnalyticsAccountId': trackingAnalyticsAccountId!,
  if (unsubscribedTrailer != null)
    'unsubscribedTrailer': unsubscribedTrailer!,
};