goToNextPage method
Used to jump to the next page based on the Player's choice.
Implementation
void goToNextPage(PageNext next) {
history.add(
HistoryItem(text: next.text),
);
currentPage = next.nextPage!;
currentPage.currentIndex = 0;
_logCurrentPassageToHistory();
}