lengthSync property

  1. @override
int get lengthSync
override

Synchronously get the length of the file. Throws a FileSystemException if the operation fails.

Implementation

@override
int get lengthSync => file.statSync().size;