pushRoute method
Implementation
bool pushRoute(AppRouteMatch? match,
{bool isPage = true, required bool replace, bool notify = true}) {
if (match == null) return false;
final route = PendingRoute(match, isPage: isPage);
if (replace) {
_viewStack.removeLast();
}
_viewStack.add(route);
if (notify) notifyWithLimit();
return true;
}