Skip to content

Dio

stackchain:
network: dio

Core networking under lib/core/network/ includes a Dio-based API client with:

Interceptor Role
Auth Attaches session credentials
Logger pretty_dio_logger
Error Maps failures consistently
Retry Retries while preserving auth headers
Unauthorized Clears session on 401

Feature remote datasources call the shared client; repository implementations sit in data/repositories and fulfill domain contracts.