isNotEmpty property

bool get isNotEmpty

check if the stack is not empty.

Implementation

bool get isNotEmpty => _list.isNotEmpty;