HookContext<T extends Object> class
Constructors
- HookContext({required String flagKey, required FlagValueType flagType, required EvaluationContext context, required T defaultValue, required FeatureClient client, required FeatureProvider provider})
Properties
- client → FeatureClient
-
final
- context → EvaluationContext
-
final
- defaultValue → T
-
final
- flagKey → String
-
final
- flagType → FlagValueType
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- provider → FeatureProvider
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
apply(
{required EvaluationContext context}) → HookContext< T> -
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