GravitySensor constructor

GravitySensor([
  1. AccelerometerSensorOptions? options
])

Implementation

factory GravitySensor([AccelerometerSensorOptions? options]) =>
    GravitySensor._(options ?? undefined);