isCurrentPage<E extends RoutebornPage> method

bool isCurrentPage<E extends RoutebornPage>()

Implementation

bool isCurrentPage<E extends RoutebornPage>() {
  return <RoutebornPage>[..._rootPageStack.activeStackFlattened()].last is E;
}