canUndo property

bool get canUndo
inherited

check if there is any action to undo

Implementation

bool get canUndo => _latestActions.isNotEmpty;