FeatureFlagValue class sealed
Sealed class representing different types of feature flag values
Constructors
- FeatureFlagValue.boolean(bool value)
-
Boolean feature flag value
constfactory
- FeatureFlagValue.fromDynamic(dynamic value)
-
Create from dynamic value with type inference
factory
-
FeatureFlagValue.json(Map<
String, dynamic> value) -
JSON feature flag value (Map<String, dynamic>)
constfactory
- FeatureFlagValue.number(num value)
-
Number feature flag value (supports both int and double)
constfactory
- FeatureFlagValue.string(String value)
-
String feature flag value
constfactory
Properties
Methods
-
asType<
T> () → T? - Get value as specific type, returns null if types don't match
-
isType<
T> () → bool - Check if the value is of a specific type
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Convert to string representation
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited