Conditions constructor

Conditions({
  1. required String type,
  2. required DateTime stamp,
  3. required String description,
  4. required Daylight daylight,
  5. required List<Parameter> params,
  6. required Img img,
})

Creates a Conditions instance.

type: The type of condition. See PredefinedParameterTypeValues for possible values. stamp: The UTC datetime for the condition. description: The translated description according to the current SDK language. daylight: The daylight condition. params: The list of weather parameters. img: The image representing the condition.

Implementation

Conditions({
  required this.type,
  required this.stamp,
  required this.description,
  required this.daylight,
  required this.params,
  required this.img,
});