pushIfExists method
Implementation
pushIfExists(BuildContext context, String route) {
if (route.isEmpty) {
return;
}
if (routeExists(context, route)) {
GoRouter.of(context).push(route);
}
}
pushIfExists(BuildContext context, String route) {
if (route.isEmpty) {
return;
}
if (routeExists(context, route)) {
GoRouter.of(context).push(route);
}
}