generate_flutter_api_bridge
Generate Flutter API client contracts with Dio REST client, JSON DTOs, Riverpod providers, and WebSocket subscriptions. Define service models and endpoints to scaffold all networking code.
Instructions
Generates full-stack Flutter API client contracts: Dio REST client, JSON DTOs, Riverpod providers, and WebSocket realtime subscription providers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| models | No | ||
| baseUrl | No | Base API URL. | https://api.example.com |
| endpoints | No | ||
| serviceName | Yes | Name of the API service (e.g. 'Order', 'Product', 'User'). |