goToUnknownPage method

  1. @override
Future<void> goToUnknownPage([
  1. bool clearPages = false
])
override

Implementation

@override
Future<void> goToUnknownPage([bool clearPages = false]) async {
  if (clearPages) _activePages.clear();

  final pageSettings = _buildPageSettings(notFoundRoute.name);
  final routeDecoder = _getRouteDecoder(pageSettings);

  _push(routeDecoder!);
}