Route.path constructor
Implementation
factory Route.path(
String name,
Function handler, {
List<Middleware> middlewares = const [],
}) {
return Route._(
handler: handler,
name: name,
schema: 'PATCH',
middlewares: middlewares,
);
}