changeValue method

dynamic changeValue(
  1. bool newValue
)

Used to emit a new bool state

Implementation

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