cancel method

  1. @override
Future<void> cancel()
override

Implementation

@override
Future<void> cancel() async {
  await _onCancel?.call();
}