toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (experimentId != null) 'experimentId': experimentId!,
      if (experimentStartTime != null)
        'experimentStartTime': experimentStartTime!,
      if (timeToLiveMillis != null) 'timeToLiveMillis': timeToLiveMillis!,
      if (triggerEvent != null) 'triggerEvent': triggerEvent!,
      if (triggerTimeoutMillis != null)
        'triggerTimeoutMillis': triggerTimeoutMillis!,
      if (variantId != null) 'variantId': variantId!,
    };