Returns whether the buffer is empty. This is a constant-time operation.
@override bool get isEmpty => _lines.isEmpty;