On the new version of the dart http module for flutter I have a problem indeed I want to use an API with the get method by passing arguments
'http://host.com?data1=1&data2=2' ...
And since the new version we have to put the url this way
http.get(
Uri.http ('host.com', '/'),
)
or I don't know how to pass the data