notifyError method

void notifyError(
  1. Close err
)

Notify all subscriptions on addErrors

Implementation

void notifyError(Close err) {
  // rooms.removeWhere((key, value) => value.contains(_ws));
  for (var item in _onErrors!) {
    item(err);
  }
}