HookManager class

Manager for hook registration and execution

Constructors

HookManager.new({bool failFast = false, Duration defaultTimeout = const Duration(seconds: 5)})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addHook(Hook hook) → void
Register a new hook
executeHooks(HookStage stage, String flagKey, Map<String, dynamic>? context, {dynamic result, Exception? error, EvaluationDetails? evaluationDetails, HookHints? hints}) Future<void>
Execute hooks for a specific stage
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