getCurrentPage method

_Page? getCurrentPage()

Implementation

_Page? getCurrentPage() {
  if (_stack.isEmpty) {
    return null;
  }
  return _stack.last;
}