Dart API Reference
dart:io
RandomAccessFile
lengthSync
lengthSync
method
Synchronously gets the length of the file.
int
lengthSync
( )
Synchronously gets the length of the file.
Throws a
FileSystemException
if the operation fails.