stopListening method

void stopListening ()

Stops listening to accelerometer events

Implementation

void stopListening() {
  streamSubscription?.cancel();
}