onNotFound property

FutureOr Function(HttpRequest req, HttpResponse res)? onNotFound
getter/setter pair

Optional handler for when a route is not found

Implementation

FutureOr Function(HttpRequest req, HttpResponse res)? onNotFound;