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 setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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