WeatherService class abstract Weather

Weather service class

Constructors

WeatherService()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Properties

maxCoordinatesPerRequest int
Get limit of number of coordinates per request
no setter
maxDayForDailyForecast int
Get limits of number of days per request
no setter
maxHoursForHourlyForecast int
Get limits of number of hours per request
no setter
transferStatistics TransferStatistics
Get the transfer statistics
no setter

Static Methods

cancel(ProgressListener listener) → void
Cancel an async operation
getCurrent({required List<Coordinates> coords, required void onCompleteCallback(GemError error, List<LocationForecast> locationForecasts)}) ProgressListener
Async gets current weather for a list of coordinates.
getDailyForecast({required int days, required List<Coordinates> coords, required void onCompleteCallback(GemError error, List<LocationForecast> locationForecasts)}) ProgressListener
Async gets forecast weather for a list of coordinates and timestamps.
getForecast({required List<TimeDistanceCoordinate> coords, required void onCompleteCallback(GemError, List<LocationForecast> locationForecasts)}) ProgressListener
Async gets forecast weather for a list of coordinates and timestamps.
getHourlyForecast({required int hours, required List<Coordinates> coords, required void onCompleteCallback(GemError error, List<LocationForecast> locationForecasts)}) ProgressListener
Async gets forecast weather for a list of coordinates and timestamps.