GetFlag class
Represents a feature flag and its associated variables. This class encapsulates information about a feature flag, including its enabled status and a list of variables with their values.
Constructors
Properties
Methods
-
getVariable(
String? key, dynamic defaultValue) → dynamic - Get a variable by key, returning a default value if not found
-
getVariables(
) → List< Map< String, dynamic> > - Get a list of variables as a list of maps, excluding RECOMMENDATION type variables
-
isEnabled(
) → bool - Returns whether the flag is enabled.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setIsEnabled(
bool value) → void - Sets isEnabled.
-
toMap(
) → Map< String, dynamic> - Method to convert Flag object to a map
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override