addRouter method

void addRouter(
  1. Router router
)

Implementation

void addRouter(Router router) {
  middlewareChain.add(router);
}