delete method

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

Implementation

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