Next typedef

Next = Future<DoxResponse> Function()

Runs the rest of the middleware and the controller. It gives the response. An error on the way is already turned into its error response by the ExceptionHandler.

Implementation

typedef Next = Future<DoxResponse> Function();