ExperimentDescription.fromJson constructor

ExperimentDescription.fromJson(
  1. Map json_
)

Implementation

ExperimentDescription.fromJson(core.Map json_)
    : this(
        experimentId: json_.containsKey('experimentId')
            ? json_['experimentId'] as core.String
            : null,
        experimentStartTime: json_.containsKey('experimentStartTime')
            ? json_['experimentStartTime'] as core.String
            : null,
        timeToLiveMillis: json_.containsKey('timeToLiveMillis')
            ? json_['timeToLiveMillis'] as core.String
            : null,
        triggerEvent: json_.containsKey('triggerEvent')
            ? json_['triggerEvent'] as core.String
            : null,
        triggerTimeoutMillis: json_.containsKey('triggerTimeoutMillis')
            ? json_['triggerTimeoutMillis'] as core.String
            : null,
        variantId: json_.containsKey('variantId')
            ? json_['variantId'] as core.String
            : null,
      );