isEmpty property

bool get isEmpty

check if the stack is empty.

Implementation

bool get isEmpty => _list.isEmpty;