Returns a FileStat instance describing the file or directory located by path.
path
FileStat stat(String path) => waitForEx( // ignore: discarded_futures core.stat(path));