StreamSubscriber constructor
StreamSubscriber({
- FutureOr<
void> onCancel()? = null,
Implementation
StreamSubscriber({FutureOr<void> onCancel()? = null})
: controller = StreamController(onCancel: onCancel);