route method
Route
route(
- String match, {
- List<
OidcOptions> ? security, - List<
HttpHandler> middlewares = const [],
Create a route that match
es on a specific path with optional middlewares
and security
.
Implementation
Route route(String match,
{List<OidcOptions>? security, List<HttpHandler> middlewares = const []}) {
return Route(this, match, security: security, middlewares: middlewares);
}