statSync method Null safety
Synchronously calls the operating system's
stat() function on path.
Returns a FileStat object containing the data returned by
If path is a symbolic link then it is resolved and results for the resulting file are returned.
FileStat statSync() => FileStat.statSync(path);