doubleVariationDetail method

LDEvaluationDetail<double> doubleVariationDetail(
  1. String flagKey,
  2. double defaultValue
)

Returns the value of flag flagKey for the current context as a double, along with information about the resultant value.

See LDEvaluationDetail for more information on the returned value. Note that DataSourceConfig.evaluationReasons must have been set to true to request the additional evaluation information from the backend.

Implementation

LDEvaluationDetail<double> doubleVariationDetail(
    String flagKey, double defaultValue) {
  return _client.doubleVariationDetail(flagKey, defaultValue);
}