notify method

void notify(
  1. bool value
)

Implementation

void notify(bool value) {
  i.value = value;
  if (_callback != null) {
    _callback!(i.value);
  }
}