notifyClose method

void notifyClose(
  1. Close err
)

Notify all subscriptions on addCloses

Implementation

void notifyClose(Close err) {
  for (var item in _onCloses!) {
    item(err);
  }
}