Updates the value on the stack to the next value.
void redo() { if (!value.canRedo) { return; } onRedo.notifyListeners(); }