addAll abstract method

Future<void> addAll(
  1. Iterable<Object> disposables
)

Atomically adds the given iterable of Disposables to this bag or disposes them all if this bag has been disposed or is disposing.

disposables must be an Iterable of StreamSubscriptions or a Sinks.

Implementation

Future<void> addAll(Iterable<Object> disposables);