OpenWeather constructor
OpenWeather({
- required String apiKey,
Constructor for the OpenWeather class.
Takes an apiKey
as a required parameter to authenticate API requests.
Implementation
OpenWeather({required this.apiKey});