toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (account != null) 'account': account!,
      if (conversionEvent != null) 'conversionEvent': conversionEvent!,
      if (dataRetentionSettings != null)
        'dataRetentionSettings': dataRetentionSettings!,
      if (dataStream != null) 'dataStream': dataStream!,
      if (firebaseLink != null) 'firebaseLink': firebaseLink!,
      if (googleAdsLink != null) 'googleAdsLink': googleAdsLink!,
      if (measurementProtocolSecret != null)
        'measurementProtocolSecret': measurementProtocolSecret!,
      if (property != null) 'property': property!,
    };