toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (adUserDataConsent != null) 'adUserDataConsent': adUserDataConsent!,
      if (childDirectedTreatment != null)
        'childDirectedTreatment': childDirectedTreatment!,
      if (customVariables != null) 'customVariables': customVariables!,
      if (dclid != null) 'dclid': dclid!,
      if (encryptedUserId != null) 'encryptedUserId': encryptedUserId!,
      if (encryptedUserIdCandidates != null)
        'encryptedUserIdCandidates': encryptedUserIdCandidates!,
      if (floodlightActivityId != null)
        'floodlightActivityId': floodlightActivityId!,
      if (floodlightConfigurationId != null)
        'floodlightConfigurationId': floodlightConfigurationId!,
      if (gclid != null) 'gclid': gclid!,
      if (impressionId != null) 'impressionId': impressionId!,
      if (kind != null) 'kind': kind!,
      if (limitAdTracking != null) 'limitAdTracking': limitAdTracking!,
      if (matchId != null) 'matchId': matchId!,
      if (mobileDeviceId != null) 'mobileDeviceId': mobileDeviceId!,
      if (nonPersonalizedAd != null) 'nonPersonalizedAd': nonPersonalizedAd!,
      if (ordinal != null) 'ordinal': ordinal!,
      if (quantity != null) 'quantity': quantity!,
      if (timestampMicros != null) 'timestampMicros': timestampMicros!,
      if (treatmentForUnderage != null)
        'treatmentForUnderage': treatmentForUnderage!,
      if (userIdentifiers != null) 'userIdentifiers': userIdentifiers!,
      if (value != null) 'value': value!,
    };