ESenseSensor.fromSensorEvent constructor
ESenseSensor.fromSensorEvent({
- required String deviceName,
- required SensorEvent event,
Implementation
factory ESenseSensor.fromSensorEvent(
{required String deviceName, required SensorEvent event}) =>
ESenseSensor(
deviceName: deviceName,
timestamp: event.timestamp,
packetIndex: event.packetIndex,
gyro: event.gyro,
accel: event.accel);