getHistoryPages method

List<MuffinPage> getHistoryPages()

gets the MuffinPages from the current history entry

Implementation

List<MuffinPage> getHistoryPages() {
  final currentHistory = currentConfiguration;
  if (currentHistory == null) return <MuffinPage>[];
  return _history.map((e) => e.currentPage!).toList();
}