StreamEffect<Value> constructor

const StreamEffect<Value>({
  1. required Stream<Value> stream,
  2. Value onDone()?,
  3. Value onError(
    1. Object error,
    2. StackTrace stackTrace
    )?,
  4. bool? cancelOnError,
})

Implementation

const StreamEffect({
  required this.stream,
  this.onDone,
  this.onError,
  this.cancelOnError,
}) : super._();