length property

int length

Returns the length of the file in bytes The file does NOT have to be open to determine its length.

Implementation

int get length => _file.lengthSync();