addNextPageWithText method
Used by the Editor to add choice with next page.
Implementation
void addNextPageWithText(String text) {
var page = Page(
nodes: List.empty(growable: true), next: List.empty(growable: true));
next.add(PageNext(text: text, nextPage: page));
}