redoState method

  1. @override
void redoState()
override

Redo to the next valid state (isWaiting and hasError are ignored)

Implementation

@override
void redoState() {
  final snap = undoRedoPersistState?.redoState();
  if (snap == null) {
    return;
  }
  _snapState = snap.copyWith(
    oldSnapState: _snapState,
  );
  notify();
}