patch method

void patch(
  1. String route,
  2. Function handler, {
  3. Middleware? use,
})

Handle PATCH request to route using handler.

Can obtain a Middleware via use for this route.

Implementation

void patch(String route, Function handler, {Middleware? use}) =>
    add('PATCH', route, handler, use);