FeatureGate class final
A single parsed gate condition attached to a feature.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- raw → String
-
The original gate string, e.g.
locale:en-US,en-GB.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → FeatureGateType
-
final
- value → String
-
Raw value after the colon (for single-value gates).
final
-
values
→ List<
String> -
Split values (locale allow-list, variant list).
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.
inherited
Static Methods
-
parse(
String rawGate) → FeatureGate -
Parse a gate string of the form
type:value. Throws FormatException for malformed syntax (no colon, empty value).