stopListening method
void
stopListening()
Stops listening to accelerometer events
Implementation
void stopListening() {
streamSubscription?.cancel();
}
Stops listening to accelerometer events
void stopListening() {
streamSubscription?.cancel();
}