Calls the operating system's stat() function on the path of this FileSystemEntity.
Identical to FileStat.stat(this.path)
.
Returns a Future<FileStat>
object containing the data returned by stat().
If the call fails, completes the future with a FileStat object with .type
set to FileSystemEntityType.notFound and the other fields invalid.
Future<FileStat> stat() => FileStat.stat(path);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-io/FileSystemEntity/stat.html