statSync method Null safety

  1. @override
FileStat statSync()
override

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

Identical to FileStat.statSync(this.path).

Returns a FileStat object containing the data returned by stat().

If the call fails, returns a FileStat object with .type set to FileSystemEntityType.notFound and the other fields invalid.

Implementation

@override
io.FileStat statSync() => delegate.statSync();