cancelToken property
Controls cancellation of Dio's requests.
The same token can be shared between different requests.
When cancel
is invoked, requests bound to this token will be cancelled.
Implementation
CancelToken? cancelToken;
Controls cancellation of Dio's requests.
The same token can be shared between different requests.
When cancel
is invoked, requests bound to this token will be cancelled.
CancelToken? cancelToken;