Google is committed to advancing racial equity for Black communities. See how.

rootDir method

*[<Null safety>](https://dart.dev/null-safety)*

PseudoDir rootDir ()

return root directory which can be used to host other directories and extend this class.

Implementation

vfs.PseudoDir rootDir() {
  _ensureNotClosed();
  return _root;
}