attach method

void attach(
  1. List<VoPage> pages
)

Implementation

void attach(List<VoPage> pages) {
  _pages
    ..clear()
    ..addEntries(pages.map((e) => MapEntry(e.key, e)));

  if (_currentPage == null) {
    _setCurrentPage(_initialPageKey, addToHistory: true);
  }
}