Weather constructor

Weather({
  1. required int id,
  2. required String main,
  3. required String description,
  4. required String icon,
})

Implementation

Weather({
  required this.id,
  required this.main,
  required this.description,
  required this.icon,
});