delete method

void delete(
  1. String path,
  2. RequestHandler handler, {
  3. FilterConfig? filterConfig,
})

Implementation

void delete(
  String path,
  RequestHandler handler, {
  FilterConfig? filterConfig,
}) =>
    routes.add(
      Route(
        path: path,
        method: HttpMethod.delete,
        handler: handler,
        filterConfig: filterConfig,
      ),
    );