reflush method

void reflush()

发送通知,但值仍为本身

Implementation

void reflush() {
  _hasNotify = true;
  for (int i = 0; i < _listeners.length; ++i) {
    final item = _listeners[i];
    try {
      item.onActive(
        _value,
        false,
      );
    } catch (e) {
      MyLogger.to().severe(MyLogItem(
        prefix: "MyStream.notify Error",
        msg: [e.toString()],
      ));
    }
  }
}