StreamEffect<Value> constructor
const
StreamEffect<Value> ({
- required Stream<
Value> stream, - Value onDone()?,
- Value onError(
- Object error,
- StackTrace stackTrace
- bool? cancelOnError,
Implementation
const StreamEffect({
required this.stream,
this.onDone,
this.onError,
this.cancelOnError,
}) : super._();