WeatherStateContract constructor

WeatherStateContract({
  1. required GeoCoordinatesContract location,
  2. required DateTimeContract validFrom,
  3. required DateTimeContract validTo,
  4. WeatherStateContractAirTemperature? airTemperature,
  5. WeatherStateContractDewPoint? dewPoint,
  6. WeatherStateContractPressure? pressure,
  7. WeatherStateContractWind? wind,
  8. WeatherStateContractVisibility? visibility,
  9. String? report,
  10. WeatherStateContractCloudBase? cloudBase,
  11. CloudCover? cloudCover,
  12. 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 [],
});