WeatherStateContract constructor
WeatherStateContract({
- required GeoCoordinatesContract location,
- required DateTimeContract validFrom,
- required DateTimeContract validTo,
- WeatherStateContractAirTemperature? airTemperature,
- WeatherStateContractDewPoint? dewPoint,
- WeatherStateContractPressure? pressure,
- WeatherStateContractWind? wind,
- WeatherStateContractVisibility? visibility,
- String? report,
- WeatherStateContractCloudBase? cloudBase,
- CloudCover? cloudCover,
- List<
PhenomenaGroup> ? phenomenaGroups = const [],
Returns a new WeatherStateContract instance.
Implementation
WeatherStateContract({
required this.location,
required this.validFrom,
required this.validTo,
this.airTemperature,
this.dewPoint,
this.pressure,
this.wind,
this.visibility,
this.report,
this.cloudBase,
this.cloudCover,
this.phenomenaGroups = const [],
});