jsonVariationDetail method

LDEvaluationDetail<LDValue> jsonVariationDetail(
  1. String flagKey,
  2. LDValue defaultValue
)

Returns the value of flag flagKey for the current context as an LDValue, 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<LDValue> jsonVariationDetail(
    String flagKey, LDValue defaultValue) {
  return _client.jsonVariationDetail(flagKey, defaultValue);
}