dispose method

void dispose()

Implementation

void dispose() {
  _accelerationStream?.cancel();
  _userAccelerationStream?.cancel();
  _positionSubscription?.cancel();
  _orientationStreamSubscription?.cancel();
  _headingStream?.cancel();
}