Most applications, be it mobile, web, or desktop, depend on some kind of backend. Thus, an API layer is an integral part of application implementation.
This six-part series presents tools and approaches that facilitate API layer implementation in Flutter and Dart applications we use at Tide:
- Introduction
- Part 1: data models with freezed and json_serializable. Basic.
- Part 2: data models with freezed and json_serializable. Advanced.
- Part 3: HTTP client and request interceptors with dio. Basic.
- Part 4: HTTP client and request interceptors with dio. Advanced.
- Part 5: REST API requests with retrofit. Basic.
- Part 6: REST API requests with retrofit. Advanced.
Each of these parts can be applied independently, but together they complement each other and form a full-fledged API layer implementation.