whenCancel property

Future<DioException> whenCancel

When cancelled, this future will be resolved.

Implementation

Future<DioException> get whenCancel => _completer.future;