HookController<T> class
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
-
clear()
→ void
-
clear all hooks from controller
-
execute(T context)
→ Future<T>
-
start executing the hooks series by passing the
context
at the beginning
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
registerHook(Hook<T> hook)
→ void
-
register a
hook
into the controller
-
toString()
→ String
-
A string representation of this object.
inherited
-
unregisterHook(Hook<T> hook)
→ Hook<T>?
-
remove a
hook
from the controller and return it back if exists