stopSensors method
void
stopSensors({
- required StreamSubscription gyroSubscription,
- required StreamSubscription accelSubscription,
Implementation
void stopSensors({
required StreamSubscription gyroSubscription,
required StreamSubscription accelSubscription,
}) {
gyroSubscription.cancel();
accelSubscription.cancel();
}