statSync method Null safety

  1. @override
FileStat statSync(
  1. String path
)
override

Calls the operating system's stat() function on path. Returns a io.FileStat object containing the data returned by stat(). If the call fails, returns a io.FileStat object with .type set to FileSystemEntityType.NOT_FOUND and the other fields invalid.

Implementation

@override
io.FileStat statSync(String path) => io.FileStat.statSync(path);