You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It also shows me the default location(of the android emulator), but I noticed in the console that I get this error: E/flutter (19578): [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: NoSuchMethodError: Class 'Future' has no instance method '[]'.
E/flutter (19578): Receiver: Instance of 'Future'
E/flutter (19578): Tried calling:
this is my getCityWeather method: Future getCityWeather(String cityName) async {
NetworkHelper networkHelper = NetworkHelper('$openWeatherMapURL?q=$cityName&appid=$apiKey&units=metric');
var weatherData = await networkHelper.getData();
return weatherData;
}
please help me, I really want to finish this project already.
The text was updated successfully, but these errors were encountered:
It also shows me the default location(of the android emulator), but I noticed in the console that I get this error:
E/flutter (19578): [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: NoSuchMethodError: Class 'Future' has no instance method '[]'.
E/flutter (19578): Receiver: Instance of 'Future'
E/flutter (19578): Tried calling:
this is my getCityWeather method:
Future getCityWeather(String cityName) async {
NetworkHelper networkHelper = NetworkHelper('$openWeatherMapURL?q=$cityName&appid=$apiKey&units=metric');
var weatherData = await networkHelper.getData();
return weatherData;
}
please help me, I really want to finish this project already.
The text was updated successfully, but these errors were encountered: