cancelToken property
CancelToken?
cancelToken
getter/setter pair
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;