FlagSummary class final

One flag's current state, for a Dev Tools screen listing every flag: not an evaluation of it, so reading FlagneticClient.allFlags records nothing in the evaluation summary. Empty at stage built_in.

Constructors

FlagSummary({required String key, required String type, required Object? value, required String reason, bool overridden = false})
A flag summary.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
key → String
The flag key.
final
overridden → bool
True when a local override is currently serving this flag. Unlike Detail.overridden, which marks a platform override, this one is always the SDK-side substitution: the two never overlap, since a local override pre-empts the flag's real value.
final
reason → String
The evaluation reason the held values document carries, or local_override when overridden is true.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String
One of boolean, string, number or json.
final
value → Object?
The value the held values document carries for this flag, or the current local override's value when overridden is true.
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