whenCancel property Null safety

Future<DioError> whenCancel

When cancelled, this future will be resolved.

Implementation

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