W3cubDocs

/Dart 2

getDirectory method

Future<Entry> getDirectory (String path)

Retrieve an already existing directory entry. The returned future will result in an error if a directory at path does not exist or if the item at path is not a directory.

Implementation

Future<Entry> getDirectory(String path) {
  return _getDirectory(path);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-html/DirectoryEntry/getDirectory.html