cleanRoutes method

FinchApp cleanRoutes()

Clears all registered routes from the server. Returns the FinchApp instance to allow method chaining. Note: This will remove all routes, so use with caution.

Implementation

FinchApp cleanRoutes() {
  _webRoutes.clear();
  return this;
}