addStream method

Future addStream(
  1. Stream<T> source, {
  2. bool? cancelOnError,
})

Implementation

Future addStream(Stream<T> source, {bool? cancelOnError}) =>
    _controller.addStream(source, cancelOnError: cancelOnError);