clearAll method

void clearAll()

Remove all registered hooks.

Implementation

void clearAll() {
  _chains.clear();
  _registrationsById.clear();
}