isNotEmpty property Null safety

bool isNotEmpty

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

Implementation

bool get isNotEmpty => !isEmpty;