init method

Hook init()

Initialize a init hook Init hooks are ran before executing each request

Implementation

Hook init() {
  final hook = Hook()..groups(['*']);
  _init.add(hook);
  return hook;
}