DirectoryTree<T>.empty constructor

DirectoryTree<T>.empty({
  1. TreeOptions options = const TreeOptions(),
})

Creates a tree without entries.

With TreeRoots.fixed the fixed roots still appear, since fixed roots exist even when empty; otherwise the tree has no nodes.

Implementation

factory DirectoryTree.empty({TreeOptions options = const TreeOptions()}) =>
    DirectoryTreeBuilder<T>(options: options).build();