Magnetometer constructor

Magnetometer([
  1. MagnetometerSensorOptions? sensorOptions
])

Implementation

factory Magnetometer([MagnetometerSensorOptions? sensorOptions]) =>
    Magnetometer._(sensorOptions ?? undefined);