dart / 2 / dart-html / directoryentry / getfile.html

getFile method

Future<Entry> getFile(
  1. 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 BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-html/DirectoryEntry/getFile.html