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