toMap method
- @override
model -> map
Implementation
@override
Map<String, Object> toMap() {
return {
'relativeHumidity': this.relativeHumidity,
'dataTime': this.dataTime,
'windDirection': this.windDirection,
'windPower': this.windPower,
'temperature': this.temperature,
'clouds': this.clouds,
'phenomenon': this.phenomenon,
'hourlyPrecipitation': this.hourlyPrecipitation
};
}