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