OpenWeatherByZipCode constructor

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

Implementation

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