LDEvaluationDetail<T> class final

Class returned by the "variation detail" methods such as LDClient.boolVariationDetail, combining the result of the evaluation with an explanation of how it was calculated.

Constructors

LDEvaluationDetail(T value, int? variationIndex, LDEvaluationReason? reason)
Constructor for LDEvaluationDetail.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
reason LDEvaluationReason?
An object describing the primary reason for the resultant flag value.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T
The result of the flag evaluation.
final
variationIndex int?
The index of the returned flag within the list of variations if the default value was not returned.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override