WeatherDurationCoordinates class Weather
Coordinates with time offset for weather forecast requests.
Combines geographic coordinates with a duration offset to specify when in the future the weather forecast is requested.
Also see:
- WeatherService.getForecast — Retrieves weather forecast for specified coordinates and durations.
Constructors
- WeatherDurationCoordinates.new({required Coordinates coordinates, required Duration duration})
- Creates a WeatherDurationCoordinates instance.
Properties
- coordinates → Coordinates
-
Geographic coordinates for the forecast location.
final
- duration → Duration
-
Time offset into the future for the forecast.
final
- 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
-
toJson(
) → Map< String, dynamic> - Serializes this instance to a JSON-compatible map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited