isLengthKnown property

bool get isLengthKnown

Returns true when the file length is already known without recomputing it.

Example:

print(file.isLengthKnown);

Implementation

bool get isLengthKnown => _knownLength != null;