notFoundHandler property

Handler notFoundHandler

get the not found handler id none was assigned it will return the defaults 404 handler;

Implementation

Handler get notFoundHandler =>
    _notFoundHandler ?? (Request req, Response res) => res.notFound();
void notFoundHandler=(Handler h)

set not found the handler

Implementation

set notFoundHandler(Handler h) => _notFoundHandler = h;