flutter-clean-architecture
flutter-clean-architecture copied to clipboard
DioError
DioError does not work with the new version of Dio:
- "request" renamed to requestOptions
- DioErrorType.RESPONSE -> DioErrorType.response
It is no good idea to use DioError in DataState I think. HTTP 403/404/500 etc.. is not a Dio error in fact.