Future<Response> 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

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