dust blog
Keep Query Parameters in the API Contract

Flutter networking often starts with package:http.
That is a good start. But search and filter screens add query strings fast.
Page number. Search text. Category. Sort order.
If each screen builds the URL by hand, the API shape gets scattered through the app.
Dust HTTP keeps that shape in one interface.
Use @Query('name') for one query value. Nullable query values are omitted when they are null.
The widget or service calls a normal method. The generated client maps the request.
Dust still uses Dio for transport. The point is not to hide HTTP. The point is to keep repeated request mapping out of product code.
Read the Dust HTTP parameter guide.
#Dust #HTTPClient #Flutter #Dart #CodeGeneration
