all method

void all(
  1. String route,
  2. Function handler
)

Handle all request to route using handler.

Implementation

void all(String route, Function handler) {
  _routes.add(RouterEntry('ALL', route, handler));
}