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