W3cubDocs

/Dart 2

getFile method

Future<Entry> getFile (String path)

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

Implementation

Future<Entry> getFile(String path) {
  return _getFile(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/getFile.html