changeValue method

void changeValue(
  1. bool newValue
)

Used to emit a new bool state

Implementation

void changeValue(bool newValue) {
  emit(BoolChangedState(value: newValue));
}