isRootRoute method

bool isRootRoute(
  1. String routeName
)

Implementation

bool isRootRoute(String routeName) {
  return routeName == rootRouteName;
}