didNotFindObjectToUpdateWithID method Null safety

FutureOr<Response> didNotFindObjectToUpdateWithID(
  1. dynamic id
)

Executed after an object not found during an update query.

By default, returns Response.notFound. You may override this method to provide some other behavior.

Implementation

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