Marine class
Hourly wave forecasts at 5 km resolution
Constructors
- Marine.new({String apiUrl = 'https://marine-api.open-meteo.com/v1/', required double latitude, required double longitude, TemperatureUnit? temperature_unit, WindspeedUnit? windspeed_unit, PrecipitationUnit? precipitation_unit, int? past_days, int? forecast_days, int? forecast_hours, int? past_hours, DateTime? start_date, DateTime? end_date, DateTime? start_hour, DateTime? end_hour, LengthUnit? length_unit, CellSelection? cell_selection, String? apikey})
Properties
- apikey ↔ String?
-
getter/setter pair
- apiUrl ↔ String
-
getter/setter pair
- cell_selection ↔ CellSelection?
-
getter/setter pair
- end_date ↔ DateTime?
-
getter/setter pair
- end_hour ↔ DateTime?
-
getter/setter pair
- forecast_days ↔ int?
-
getter/setter pair
- forecast_hours ↔ int?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- latitude → double
-
final
- length_unit ↔ LengthUnit?
-
getter/setter pair
- longitude → double
-
final
- past_days ↔ int?
-
getter/setter pair
- past_hours ↔ int?
-
getter/setter pair
- precipitation_unit ↔ PrecipitationUnit?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start_date ↔ DateTime?
-
getter/setter pair
- start_hour ↔ DateTime?
-
getter/setter pair
- temperature_unit ↔ TemperatureUnit?
-
getter/setter pair
- windspeed_unit ↔ WindspeedUnit?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
raw_request(
{List< Hourly> ? hourly, List<Daily> ? daily, List<Current> ? current}) → Future<Map< String, dynamic> > -
request(
{List< Hourly> ? hourly, List<Daily> ? daily, List<Current> ? current}) → Future<WeatherResponse> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited