SKILL Instructions
claude
cursor
#flutter
#dio
#network
#http
About
Set up a resilient Dio client with interceptors, retries, and typed responses.
Metadata (SKILL.md frontmatter)
- name
- flutter-dio-networking
- version
- 1.0.0
Instructions
Dio
- Configure a single
Dioinstance withBaseOptions(baseUrl, timeouts). - Add interceptors for auth token refresh and logging.
- Parse responses with
json_serializablemodels. - Convert
DioExceptionto a domainFailurein the repository.