isNotEmpty property

  1. @override
bool isNotEmpty
override

Returns whether the buffer is not empty. This is a constant-time operation.

Implementation

@override
bool get isNotEmpty => _lines.isNotEmpty;