ReceiveAcceleration.fromMap constructor
ReceiveAcceleration.fromMap(
- Map map
Implementation
factory ReceiveAcceleration.fromMap(Map<dynamic, dynamic> map) {
final double timestamp = map['timestamp'];
final int x = map['x'];
final int y = map['y'];
final int z = map['z'];
return ReceiveAcceleration(timestamp, x, y, z);
}