menu
open_weather_client package
documentation
models/wind.dart
Wind class
Wind class
dark_mode
light_mode
Wind
class
Annotations
@JsonSerializable()
Constructors
Wind
({
required
double
speed
,
required
double
deg
,
double
?
gust
})
Wind.fromJson
(
Map
<
String
,
dynamic
>
json
)
factory
Properties
deg
↔
double
getter/setter pair
gust
↔
double
?
getter/setter pair
hashCode
→
int
The hash code for this object.
no setter
inherited
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
speed
↔
double
Wind class holds the wind related info from the API response
speed
represents the wind speed
deg
represents Wind direction, degrees (meteorological)
gust
represents Wind gust. Unit Default: meter/sec, Metric: meter/sec, Imperial: miles/hour
getter/setter pair
Methods
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson
(
)
→
Map
<
String
,
dynamic
>
toString
(
)
→
String
A string representation of this object.
inherited
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
open_weather_client package
documentation
models/wind
Wind class
wind library