stat method Null safety

  1. @override
Future<FileStat> stat()
override

Calls the operating system's stat() function on path.

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.

Implementation

@override
Future<io.FileStat> stat() => delegate.stat();