compile method

void compile()

Compiles the route's middleware into a single executable chain.

Implementation

void compile() {
  if (handler != null) {
    _compiledHandler = Pipeline.compose(middleware, handler!);
  }
}