hook_controller library Null safety

Classes

HookController<T>

Typedefs

Hook<T> = void Function(T context, void commit(T newContext))
A hook function used to read the current context and apply changes to it. through the commit function.