pop method

dynamic pop()

Implementation

pop() {
  if (pages.length > 0) {
    pages.removeLast();
    notifyListeners();
  }
}