weather_pack library
The project is designed to obtain weather via the OpenWeatherMap API.
With handy features. :)
Classes
- GeocodingService
- The class provides access to the geocoding service of cities.
- ImagePathWeather
- The class provides a helper for getting the image path of a given package.
- OWMApiTest
- A class to help check your APIkey.
- PlaceGeocode
- The model represents the location.
- WeatherAlert
- Model represents national weather alerts.
- WeatherCurrent
- The model is current weather data API response for WeatherOneCall.
- WeatherDaily
- Model represents daily forecast weather for WeatherOneCall.
- WeatherHourly
- Model represents hourly forecast weather data for WeatherOneCall.
- WeatherMinutely
- Model represents minute forecast weather for WeatherOneCall.
- WeatherOneCall
- Model represents weather by One Call API request.
- WeatherService
- Service for fetching weather data in JSON.
Enums
- Pressure
- Represents units of pressure measurement.
- SideOfTheWorld
- Represents the cardinal directions or, in other words, cardinal points.
- Speed
- Represents units of speed.
- Temp
- Represents units of temperature measurement.
- WeatherLanguage
- You can use lang parameter to get the output in your language.
Mixins
- UnitValue
- Mixin provides the ability for unit classes to convert a value to text or number with the desired accuracy.
Properties
-
codeAndLangMatching
→ Map<
String, WeatherLanguage> -
Map of matching WeatherLanguage.code and
WeatherLanguage
.final
Exceptions / Errors
- OwmApiException
- Custom Exception for the Open Weather.