removeListener method Null safety

void removeListener(
  1. MiniSubscription<T> element
)

Implementation

void removeListener(MiniSubscription<T> element) {
  var length = this.length;
  for (var i = 0; i < length; i++) {
    if (_elementAt(i) == element) {
      _removeAt(i);
      break;
    }
  }
}