Details constructor

Details({
  1. required int id,
  2. required String weatherShortDescription,
  3. required String weatherLongDescription,
  4. required String icon,
})

A class representing the details of weather information.

This class includes the following properties:

  • id: The unique identifier for the weather details.
  • weatherShortDescription: A short description of the weather.
  • weatherLongDescription: A detailed description of the weather.
  • icon: The icon representing the weather.

Implementation

Details(
    {required this.id,
    required this.weatherShortDescription,
    required this.weatherLongDescription,
    required this.icon});