rootPath property

String get rootPath

Implementation

String get rootPath {
  var segments = pathSegments;
  if (segments.isNotEmptyList) {
    return segments.first;
  }
  return "";
}