toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (activateEventToLog != null)
        'activateEventToLog': activateEventToLog!,
      if (clearEventToLog != null) 'clearEventToLog': clearEventToLog!,
      if (experimentId != null) 'experimentId': experimentId!,
      if (experimentStartTimeMillis != null)
        'experimentStartTimeMillis': experimentStartTimeMillis!,
      if (ongoingExperiments != null)
        'ongoingExperiments': ongoingExperiments!,
      if (overflowPolicy != null) 'overflowPolicy': overflowPolicy!,
      if (setEventToLog != null) 'setEventToLog': setEventToLog!,
      if (timeToLiveMillis != null) 'timeToLiveMillis': timeToLiveMillis!,
      if (timeoutEventToLog != null) 'timeoutEventToLog': timeoutEventToLog!,
      if (triggerEvent != null) 'triggerEvent': triggerEvent!,
      if (triggerTimeoutMillis != null)
        'triggerTimeoutMillis': triggerTimeoutMillis!,
      if (ttlExpiryEventToLog != null)
        'ttlExpiryEventToLog': ttlExpiryEventToLog!,
      if (variantId != null) 'variantId': variantId!,
    };