clear method

void clear()

Clears all registered routes.

Implementation

void clear() {
  _registry.clear();
  _invalidateCache();
}