HTTP networking standards using Dio and Retrofit with Auth interceptors.
Type-safe REST API communication using Dio and Retrofit.
infrastructure/
├── data_sources/
│ ├── remote/ # Retrofit abstract classes
│ └── local/ # Cache/Storage
└── network/
├── dio_client.dart # Custom Dio setup
└── interceptors/ # Auth, Logging, Cache
@RestApi(). Use standard HTTP annotations (@GET, @POST).@freezed and json_serializable for all response/request bodies.userDto.toDomain()).Authorization: Bearer <token> injection in onRequest.401 Unauthorized in onError by locking Dio, refreshing, and retrying.DioException to custom Failure objects (ServerFailure, NetworkFailure).jsonDecode(response.body); use Retrofit's generated mappers.try-catch inside the Retrofit interface methods.For RestClient definitions and Auth Interceptor implementation: See references/REFERENCE.md.
feature-based-clean-architecture | error-handling
npx skills add ngxtm/Flutter Networking (Retrofit & Dio)下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer