toJson method

Map<String, dynamic> toJson()

Implementation

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