BadUseOfRouterWidgetException constructor

BadUseOfRouterWidgetException(
  1. Symbol routerName,
  2. RouteMode mode
)

Implementation

BadUseOfRouterWidgetException(this.routerName, this.mode) {
  message =
      'Cannot use $mode with #${routerName.toString().substring(8, routerName.toString().length - 2)}';
}