cancel method
Cancels the current request (upload or download of file).
Implementation
@override
void cancel([dynamic reason]) {
_cancelToken?.cancel(reason);
_cancelToken = null;
}
Cancels the current request (upload or download of file).
@override
void cancel([dynamic reason]) {
_cancelToken?.cancel(reason);
_cancelToken = null;
}