patch<T extends Object> static method
patch route
Route.patch('path', controller);
Implementation
static Route patch<T extends Object>(
String route,
dynamic controller, {
Object? body,
}) {
return Route()._addRoute(
HttpRequestMethod.PATCH,
Route()._join(route),
_action<T>(controller),
body: body,
);
}