redo method

void redo()

Updates the value on the stack to the next value.

Implementation

void redo() {
  if (!value.canRedo) {
    return;
  }

  onRedo.notifyListeners();
}