ReceiveTemperature.fromMap constructor
ReceiveTemperature.fromMap(
- Map map
Implementation
factory ReceiveTemperature.fromMap(Map<dynamic, dynamic> map) {
final double timestamp = map['timestamp'];
final double temperature = map['temperature'];
return ReceiveTemperature(timestamp, temperature);
}