redo method
S
redo()
Redoes the last change to the store.
Implementation
S redo() {
final target = _future.removeFirst();
return delegate.update((state) {
_past.addLast(state);
return target;
});
}
Redoes the last change to the store.
S redo() {
final target = _future.removeFirst();
return delegate.update((state) {
_past.addLast(state);
return target;
});
}