fullPath property

String get fullPath

Gets the full path of the node.

Implementation

String get fullPath {
  if (parent == null) return "/";
  final parentPath = parent!.fullPath == "/" ? "" : parent!.fullPath;
  return "$parentPath/$path";
}