WeatherApi class
///////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////
Constructors
- WeatherApi.new({required String apiKey})
-
////////////
////////////
const
Properties
Methods
-
getCurrentPrecipitation(
{required double lat, required double lon}) → Future< WeatherData> -
getCurrentWeather(
{required double latitude, required double longitude}) → Future< WeatherData> - //////////// //////////// Fetches current weather data for a specific location
-
getHourlyForecast(
{required double latitude, required double longitude}) → Future< List< WeatherData> > - //////////// //////////// Retrieves weather forecast for the next few hours
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited