didNotFindObjectToDeleteWithID method Null safety

FutureOr<Response> didNotFindObjectToDeleteWithID(
  1. dynamic id
)

Executed when no object was deleted during a delete query.

Defaults to return Response.notFound. You may override this method to provide some other behavior.

Implementation

FutureOr<Response> didNotFindObjectToDeleteWithID(dynamic id) {
  return Response.notFound();
}