dynamic didNotFindObject()

Executed after a fetch by ID query that did not find a matching instance.

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

Source

FutureOr<Response> didNotFindObject() {
  return new Response.notFound();
}