$WeatherStatusClient class

Constructors

$WeatherStatusClient($Client _rootClient)
Creates a new DynamiteClient for weather_status requests.

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

$getFavorites_Request({bool? oCSAPIRequest}) → Request
Get favorites list.
$getFavorites_Serializer() → DynamiteSerializer<WeatherStatusGetFavoritesResponseApplicationJson, void>
Builds a serializer to parse the response of $getFavorites_Request.
$getForecast_Request({bool? oCSAPIRequest}) → Request
Get forecast for current location.
$getForecast_Serializer() → DynamiteSerializer<WeatherStatusGetForecastResponseApplicationJson, void>
Builds a serializer to parse the response of $getForecast_Request.
$getLocation_Request({bool? oCSAPIRequest}) → Request
Get stored user location.
$getLocation_Serializer() → DynamiteSerializer<WeatherStatusGetLocationResponseApplicationJson, void>
Builds a serializer to parse the response of $getLocation_Request.
$setFavorites_Request({required BuiltList<String> favorites, bool? oCSAPIRequest}) → Request
Set favorites list.
$setFavorites_Serializer() → DynamiteSerializer<WeatherStatusSetFavoritesResponseApplicationJson, void>
Builds a serializer to parse the response of $setFavorites_Request.
$setLocation_Request({String? address, double? lat, double? lon, bool? oCSAPIRequest}) → Request
Set address and resolve it to get coordinates or directly set coordinates and get address with reverse geocoding.
$setLocation_Serializer() → DynamiteSerializer<WeatherStatusSetLocationResponseApplicationJson, void>
Builds a serializer to parse the response of $setLocation_Request.
$setMode_Request({required int mode, bool? oCSAPIRequest}) → Request
Change the weather status mode. There are currently 2 modes: - ask the browser - use the user defined address.
$setMode_Serializer() → DynamiteSerializer<WeatherStatusSetModeResponseApplicationJson, void>
Builds a serializer to parse the response of $setMode_Request.
$usePersonalAddress_Request({bool? oCSAPIRequest}) → Request
Try to use the address set in user personal settings as weather location.
$usePersonalAddress_Serializer() → DynamiteSerializer<WeatherStatusUsePersonalAddressResponseApplicationJson, void>
Builds a serializer to parse the response of $usePersonalAddress_Request.
getFavorites({bool? oCSAPIRequest}) Future<DynamiteResponse<WeatherStatusGetFavoritesResponseApplicationJson, void>>
Get favorites list.
getForecast({bool? oCSAPIRequest}) Future<DynamiteResponse<WeatherStatusGetForecastResponseApplicationJson, void>>
Get forecast for current location.
getLocation({bool? oCSAPIRequest}) Future<DynamiteResponse<WeatherStatusGetLocationResponseApplicationJson, void>>
Get stored user location.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setFavorites({required BuiltList<String> favorites, bool? oCSAPIRequest}) Future<DynamiteResponse<WeatherStatusSetFavoritesResponseApplicationJson, void>>
Set favorites list.
setLocation({String? address, double? lat, double? lon, bool? oCSAPIRequest}) Future<DynamiteResponse<WeatherStatusSetLocationResponseApplicationJson, void>>
Set address and resolve it to get coordinates or directly set coordinates and get address with reverse geocoding.
setMode({required int mode, bool? oCSAPIRequest}) Future<DynamiteResponse<WeatherStatusSetModeResponseApplicationJson, void>>
Change the weather status mode. There are currently 2 modes: - ask the browser - use the user defined address.
toString() String
A string representation of this object.
inherited
usePersonalAddress({bool? oCSAPIRequest}) Future<DynamiteResponse<WeatherStatusUsePersonalAddressResponseApplicationJson, void>>
Try to use the address set in user personal settings as weather location.

Operators

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