router property

Router get router

Retrieves the Router associated with the current build context.

Implementation

Router get router {
  return Router.of(this);
}