exists property

bool get exists

Whether the downloaded file still exists. This information may be out of date because Chrome does not automatically watch for file removal. Call search in order to trigger the check for file existence. When the existence check completes, if the file has been deleted, then an onChanged event will fire. Note that search does not wait for the existence check to finish before returning, so results from search may not accurately reflect the file system. Also, search may be called as often as necessary, but will not check for file existence any more frequently than once every 10 seconds.

Implementation

bool get exists => _wrapped.exists;
set exists (bool v)

Implementation

set exists(bool v) {
  _wrapped.exists = v;
}