clear method

void clear()

Clears all router pages and returns to the startup state.

すべてのルーターのページをクリアし起動時の状態に戻します。

Implementation

void clear() {
  _pageStack.clear();
  _pages.clear();
  __routeInformationProvider = null;
}