operator & method

Router operator &(
  1. Router router
)

Merge the given Router into this Router.

Returns the left-hand side Router.

Note: This is a convenience method for Router.merge.

final router = Router();

router & Router();

Implementation

Router operator &(Router router) => this..merge(router);