whenCancel property

Future<DioError> whenCancel

When cancelled, this future will be resolved.

Implementation

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