Main constructor Null safety

Main(
  1. {required double temp,
  2. required double feelsLike,
  3. required double tempMin,
  4. required double tempMax,
  5. required int pressure,
  6. required int humidity,
  7. required int seaLevel,
  8. required int grndLevel}
)

Implementation

Main({
  required this.temp,
  required this.feelsLike,
  required this.tempMin,
  required this.tempMax,
  required this.pressure,
  required this.humidity,
  required this.seaLevel,
  required this.grndLevel,
});