Used to emit a new bool state
changeValue(bool newValue) { emit(BoolChangedState(value: newValue)); }