segmentCount property

int get segmentCount

The number of screens in the route.

Implementation

int get segmentCount {
  return screenHierarchy.length;
}