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