OpenWeatherByCity constructor

const OpenWeatherByCity({
  1. Key? key,
  2. required String apiKey,
  3. required String cityName,
  4. WeatherUnits weatherUnits = WeatherUnits.IMPERIAL,
  5. Color color = Colors.black,
  6. Languages language = Languages.ENGLISH,
})

Implementation

const OpenWeatherByCity(
    {super.key,
    required this.apiKey,
    required this.cityName,
    this.weatherUnits = WeatherUnits.IMPERIAL,
    this.color = Colors.black,
    this.language = Languages.ENGLISH});