WeatherDatum class

A Datum that holds weather information collected through OpenWeatherMap.

Inheritance
Annotations

Constructors

WeatherDatum()
WeatherDatum.fromJson(Map<String, dynamic> json)
factory

Properties

areaName String
read / write
cloudiness double
read / write
country String
read / write
date DateTime
read / write
format DataFormat
The DataFormat of this Datum.
read-only, override
hashCode int
The hash code for this object. [...]
read-only, inherited
humidity double
read / write
id String
Unique identifier for the current Datum, unique across all data generated.
read / write, inherited
latitude double
read / write
longitude double
read / write
pressure double
read / write
rainLast3Hours double
read / write
rainLastHour double
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
snowLast3Hours double
read / write
snowLastHour double
read / write
sunrise DateTime
read / write
sunset DateTime
read / write
temperature double
read / write
tempMax double
read / write
tempMin double
read / write
timestamp DateTime
The UTC timestamp for generating this data on the device.
read / write, inherited
weatherDescription String
read / write
weatherMain String
read / write
windDegree double
read / write
windSpeed double
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
Return a JSON encoding of this datum.
override
toString() String
A string representation of this object. [...]
override

Operators

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

Constants

CARP_DATA_FORMAT → const DataFormat
The DataFormat of this type of CARPDatum.
DataFormat(NameSpace.CARP, ContextSamplingPackage.WEATHER)