toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountId != null) 'accountId': accountId!,
      if (autoEventFilter != null) 'autoEventFilter': autoEventFilter!,
      if (checkValidation != null) 'checkValidation': checkValidation!,
      if (containerId != null) 'containerId': containerId!,
      if (continuousTimeMinMilliseconds != null)
        'continuousTimeMinMilliseconds': continuousTimeMinMilliseconds!,
      if (customEventFilter != null) 'customEventFilter': customEventFilter!,
      if (eventName != null) 'eventName': eventName!,
      if (filter != null) 'filter': filter!,
      if (fingerprint != null) 'fingerprint': fingerprint!,
      if (horizontalScrollPercentageList != null)
        'horizontalScrollPercentageList': horizontalScrollPercentageList!,
      if (interval != null) 'interval': interval!,
      if (intervalSeconds != null) 'intervalSeconds': intervalSeconds!,
      if (limit != null) 'limit': limit!,
      if (maxTimerLengthSeconds != null)
        'maxTimerLengthSeconds': maxTimerLengthSeconds!,
      if (name != null) 'name': name!,
      if (notes != null) 'notes': notes!,
      if (parameter != null) 'parameter': parameter!,
      if (parentFolderId != null) 'parentFolderId': parentFolderId!,
      if (path != null) 'path': path!,
      if (selector != null) 'selector': selector!,
      if (tagManagerUrl != null) 'tagManagerUrl': tagManagerUrl!,
      if (totalTimeMinMilliseconds != null)
        'totalTimeMinMilliseconds': totalTimeMinMilliseconds!,
      if (triggerId != null) 'triggerId': triggerId!,
      if (type != null) 'type': type!,
      if (uniqueTriggerId != null) 'uniqueTriggerId': uniqueTriggerId!,
      if (verticalScrollPercentageList != null)
        'verticalScrollPercentageList': verticalScrollPercentageList!,
      if (visibilitySelector != null)
        'visibilitySelector': visibilitySelector!,
      if (visiblePercentageMax != null)
        'visiblePercentageMax': visiblePercentageMax!,
      if (visiblePercentageMin != null)
        'visiblePercentageMin': visiblePercentageMin!,
      if (waitForTags != null) 'waitForTags': waitForTags!,
      if (waitForTagsTimeout != null)
        'waitForTagsTimeout': waitForTagsTimeout!,
      if (workspaceId != null) 'workspaceId': workspaceId!,
    };