Annotation for cancelling the request.
When applied to a parameter, allows the method to accept a CancelToken
that can be used to cancel the HTTP request.
Annotation for tracking download progress.
When applied to a parameter, allows the method to accept a callback
function that will be invoked with progress updates during data reception.
Annotation for tracking upload progress.
When applied to a parameter, allows the method to accept a callback
function that will be invoked with progress updates during data transmission.
Extra data that will be passed to Dio's request, response, transformer, and interceptors.
Extend TypedExtras and define fields that correspond to the keys passed into extras.
The values of these fields will be derived from the data passed into your subclass.