lengthSync method
The length of the file provided synchronously.
Throws a FileSystemException if the operation fails.
Implementation
@override
int lengthSync() {
assertIsFile(_fs, path, 'Cannot retrieve length of file');
return readAsBytesSync().length;
}