flush method
Implementation
@override
void flush() {
if (_bufferPosition > 0) {
if (_isOpen) {
_fileHandle.writeFromSync(_buffer, 0, _bufferPosition);
}
_bufferPosition = 0;
}
}
@override
void flush() {
if (_bufferPosition > 0) {
if (_isOpen) {
_fileHandle.writeFromSync(_buffer, 0, _bufferPosition);
}
_bufferPosition = 0;
}
}