DVFlagResolution<T> class
An answer, where it came from, and what was worth reporting about it.
Constructors
-
DVFlagResolution({required T value, required DVFlagSource source, int? rulesVersion, List<
String> codes = const <String>[], int? rule}) -
const
Properties
-
codes
→ List<
String> -
Diagnostic codes this evaluation produced.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- rule → int?
-
The index, in the flag's list of rules, of the rule that decided this
answer: the one that served value, or the one that held the default
because its rollout had no subject (
DV-FLAGS-005) or its value was the wrong type (DV-FLAGS-006). Null when no rule decided it.final - rulesVersion → int?
-
The rule set that served value, when one did.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → DVFlagSource
-
final
- value → T
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited