stopSensors method

void stopSensors(
  1. StreamSubscription subGyro,
  2. StreamSubscription subAcc
)

Implementation

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