operator [] method Null safety

StreamSubscription? operator [](
  1. Object key
)

Return a StreamSubscription from the list with a specified key

For example:

StreamSubscription subscription = subxMap[0];

Implementation

StreamSubscription? operator [](Object key) => _subscriptionMap[key];