listen method Null safety

StreamSubscription listen(
  1. void onEach(
    1. T each
    ),
  2. {bool cancelOnError = false}
)

Implementation

StreamSubscription listen(void onEach(T each), {bool cancelOnError = false}) {
  return after.listen(onEach, cancelOnError: cancelOnError);
}