cancel method

  1. @override
Future cancel()
override

Implementation

@override
Future cancel() async {
  await _subs.map((sub) => sub.cancel()).waitAll();
}