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