| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-09-30 | 673 Bytes | |
| v7.31.1 source code.tar.gz | 2026-09-30 | 736.5 kB | |
| v7.31.1 source code.zip | 2026-09-30 | 929.8 kB | |
| Totals: 3 Items | 1.7 MB | 0 | |
Fixed
handleFailureworks when the request throws - Dio throws for a status outside 2xx, so most failed requests reachhandleFailurethrough aDioException. On that pathnetworkandnetworkResponsereturned the callback's result as the response itself, so a callback that returned nothing (one that only shows a toast, say), plain orasync, or one that returned a fallback value ended in aTypeError. The callback is now awaited when it'sasync, and what it returns is used the same way as forhandleSuccess: nothing keeps the error response, aNyResponsereplaces it, and any other value becomes itsdata, which is whatnetworkreturns