toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (audienceDescription != null)
        'audienceDescription': audienceDescription!,
      if (buyerPitchStatement != null)
        'buyerPitchStatement': buyerPitchStatement!,
      if (directDealsContact != null)
        'directDealsContact': directDealsContact!,
      if (displayName != null) 'displayName': displayName!,
      if (domains != null) 'domains': domains!,
      if (googlePlusUrl != null) 'googlePlusUrl': googlePlusUrl!,
      if (isParent != null) 'isParent': isParent!,
      if (logoUrl != null) 'logoUrl': logoUrl!,
      if (mediaKitUrl != null) 'mediaKitUrl': mediaKitUrl!,
      if (mobileApps != null)
        'mobileApps': mobileApps!.map((value) => value.toJson()).toList(),
      if (overview != null) 'overview': overview!,
      if (programmaticDealsContact != null)
        'programmaticDealsContact': programmaticDealsContact!,
      if (publisherProfileId != null)
        'publisherProfileId': publisherProfileId!,
      if (rateCardInfoUrl != null) 'rateCardInfoUrl': rateCardInfoUrl!,
      if (samplePageUrl != null) 'samplePageUrl': samplePageUrl!,
      if (seller != null) 'seller': seller!.toJson(),
      if (topHeadlines != null) 'topHeadlines': topHeadlines!,
    };