patch method

void patch(
  1. String path,
  2. RequestHandler onRequest
)

Implementation

void patch(String path, RequestHandler onRequest) {
  createRoute(
    path: path,
    method: RegExp(r"^(patch)$", caseSensitive: false),
    onRequest: onRequest,
  );
}