Getting the error in http.get and also in(response.body) as body isn't defined for the type HttpResponse. Please helpp

后端 未结 0 1433
温柔的废话
温柔的废话 2021-01-27 13:25

Future getWeather(String appId, String city) async { String apiUrl = \'http://api.openweathermap.org/data/2.5/weather?q=$city%20&appId=${util.appId}&units=metric\';

相关标签:
回答
  • 消灭零回复
提交回复
热议问题