canUndo property

bool get canUndo

Tests if the last change to the store can be undone.

Implementation

bool get canUndo => _past.isNotEmpty;