all method

void all(
  1. String path,
  2. RequestHandler onRequest
)

Implementation

void all(String path, RequestHandler onRequest) {
  createRoute(
    path: path,
    method: RegExp(r"^(.*)$", caseSensitive: false),
    onRequest: onRequest,
  );
}