cancel method
Dispose the consumer and cancel the underlying stream.
Implementation
Future<void> cancel() async {
await _stream.cancel();
}
Dispose the consumer and cancel the underlying stream.
Future<void> cancel() async {
await _stream.cancel();
}