isEmpty property

bool isEmpty

check if the stack is empty.

Implementation

bool get isEmpty => _list.isEmpty;