LDEvaluationDetail<T> class Null safety

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.
read-onlyinherited
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.
read-onlyinherited
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 non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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