canUndo property
bool
get
canUndo
check if there is any action to undo
Implementation
bool get canUndo => _latestActions.isNotEmpty;
check if there is any action to undo
bool get canUndo => _latestActions.isNotEmpty;