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