toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (account != null) 'account': account!,
      if (androidAppDataStream != null)
        'androidAppDataStream': androidAppDataStream!,
      if (conversionEvent != null) 'conversionEvent': conversionEvent!,
      if (customDimension != null) 'customDimension': customDimension!,
      if (customMetric != null) 'customMetric': customMetric!,
      if (dataRetentionSettings != null)
        'dataRetentionSettings': dataRetentionSettings!,
      if (displayVideo360AdvertiserLink != null)
        'displayVideo360AdvertiserLink': displayVideo360AdvertiserLink!,
      if (displayVideo360AdvertiserLinkProposal != null)
        'displayVideo360AdvertiserLinkProposal':
            displayVideo360AdvertiserLinkProposal!,
      if (firebaseLink != null) 'firebaseLink': firebaseLink!,
      if (googleAdsLink != null) 'googleAdsLink': googleAdsLink!,
      if (googleSignalsSettings != null)
        'googleSignalsSettings': googleSignalsSettings!,
      if (iosAppDataStream != null) 'iosAppDataStream': iosAppDataStream!,
      if (measurementProtocolSecret != null)
        'measurementProtocolSecret': measurementProtocolSecret!,
      if (property != null) 'property': property!,
      if (webDataStream != null) 'webDataStream': webDataStream!,
    };