getDirectory method

Future<Entry> getDirectory (
  1. 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.dart.dev/stable/2.13.0/dart-html/DirectoryEntry/getDirectory.html