WeatherKit class

Constructors

WeatherKit()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generateJWT({required String bundleId, required String teamId, required String keyId, required String pem, required Duration expiresIn}) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
obtainAvailability({required String jwt, required double latitude, required double longitude, required String country}) Future<List>
country should be the ISO Alpha-2 country code.
obtainWeatherData({required String jwt, required String language, required double latitude, required double longitude, required DataSet dataSets, required String timezone, String? countryCode, DateTime? currentAsOf, DateTime? dailyEnd, DateTime? dailyStart, DateTime? hourlyEnd, DateTime? hourlyStart}) Future<CurrentWeatherData>
Obtain weather data for the specified location.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited