Details class

Weather details

Constructors

Details(int id, String main, String description, String icon)
Creates a Details object
Details.fromJson(Map<String, dynamic> json)
Creates a Details object from json
factory

Properties

description String
Weather condition within the group.
final
hashCode int
The hash code for this object.
no setterinherited
icon String
Weather icon id
final
id int
Weather condition id
final
main String
Group of weather parameters (Rain, Snow, Extreme etc.)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a Map with the object data
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJsonArray(List array) List<Details>
Creates a list of Details from a list