dispose method

dynamic dispose()

Stops listening for device motion events and cleans up resources.

Implementation

dispose() {
  _backend.detach();
}