isCurrentRoot method

bool isCurrentRoot()

Implementation

bool isCurrentRoot() {
  return topRouteName != null && rootRouteName != null && rootRouteName == topRouteName;
}