fullPath property

String fullPath

Implementation

String get fullPath {
  if (isRoot) {
    return '/';
  } else {
    final parentPath = parent?.fullPath == '/' ? '' : parent?.fullPath;
    return '$parentPath/$path';
  }
}