compile method

void compile()

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

Implementation

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