isRootRoute static method

bool isRootRoute(
  1. AppRoute appRoute
)

Whether the given route is an app-screen related root route

Implementation

static bool isRootRoute(AppRoute appRoute) => AppRootRoute.values
    .any((screenRoute) => screenRoute.appRoute == appRoute.root);