Wind constructor

Wind({
  1. required double speed,
  2. required double deg,
  3. double? gust,
})

Represents wind data with speed, direction, and optional gust information.

The Wind class contains the following properties:

  • speed: The speed of the wind.
  • deg: The direction of the wind in degrees.
  • gust: An optional value representing the gust speed of the wind.

Implementation

Wind({
  required this.speed,
  required this.deg,
  this.gust,
});