cancel method
Implementation
Future cancel() async {
log.info("Cancelling request $requestId: (${debugLabel ?? 'no details'})");
await operation?.cancel();
_isCancelled = true;
}
Future cancel() async {
log.info("Cancelling request $requestId: (${debugLabel ?? 'no details'})");
await operation?.cancel();
_isCancelled = true;
}