Details class

Annotations
  • @JsonSerializable()

Constructors

Details({required int id, required String weatherShortDescription, required String weatherLongDescription, required String icon})
Details.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
icon String
getter/setter pair
id int
Details class holds the basic details related info from the API response id holds the weather condition ID weatherShortDescription Group of weather parameters (Rain, Snow, Extreme etc.) weatherLongDescription Weather condition within the group icon Weather icon id
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weatherLongDescription String
getter/setter pair
weatherShortDescription String
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