hasUndo property

bool get hasUndo

Implementation

bool get hasUndo => stack.undo.isNotEmpty;