cancel method

Future<void> cancel()

Implementation

Future<void> cancel() async {
  await stream.cancel();
}