notify method

void notify()

Notify to observers are listen on this observable

Implementation

void notify() {
  //fore update validate status instead waiting computed
  if (_validateFunc != null) {
    _selfNotify = true;
    _executeCallback(_validateFunc!);
    _validate.peek;
    _selfNotify = false;
  }

  if (!hasListener) {
    return;
  }

  for (var cb in _callbacks) {
    _executeCallback(cb);
  }
}