fromMap method

AccelerometerData fromMap(
  1. dynamic map
)

Implementation

static AccelerometerData fromMap(map) => AccelerometerData(
  timeStamp: DateTime.parse(map['timestamp']),
  acceleration: Acceleration.fromMap(map['acceleration'])
);