isEOS property Null safety

bool isEOS
override

Is the current position at the end of the stream?

Implementation

@override
bool get isEOS =>
    (_filePosition >= _fileSize) && (_bufferPosition >= _bufferSize);