isEmpty property

bool get isEmpty

Whether the buffer is empty.

Implementation

bool get isEmpty => length == 0;