DailyTemperature class
Daily temperature data
Constructors
- DailyTemperature(num day, num min, num max, num morn, num eve, num night)
- Creates a DailyTemperature object
-
DailyTemperature.fromJson(Map<
String, dynamic> json) -
Creates a DailyTemperature object from json
factory
Properties
- day → num
-
Day temperature
final
- eve → num
-
Evening temperature
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- max → num
-
Max daily temperature
final
- min → num
-
Min daily temperature
final
- morn → num
-
Morning temperature
final
- night → num
-
Night temperature
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