stopSensors method
Implementation
void stopSensors(
StreamSubscription<dynamic> subGyro, StreamSubscription<dynamic> subAcc) {
subGyro.cancel();
subAcc.cancel();
}
void stopSensors(
StreamSubscription<dynamic> subGyro, StreamSubscription<dynamic> subAcc) {
subGyro.cancel();
subAcc.cancel();
}