isEmpty property Null safety
Returns whether the buffer is empty. This is a constant-time operation.
Implementation
bool get isEmpty => length == 0;
Returns whether the buffer is empty. This is a constant-time operation.
bool get isEmpty => length == 0;