onCancel property
Stream<void>
get
onCancel
A stream that emits when cancellation is requested.
Implementation
Stream<void> get onCancel => _controller.stream;
A stream that emits when cancellation is requested.
Stream<void> get onCancel => _controller.stream;