RelativeOrientationSensor 构造函数

RelativeOrientationSensor(
  1. [Map? sensorOptions]
)

实现

factory RelativeOrientationSensor([Map? sensorOptions]) {
  if (sensorOptions != null) {
    var sensorOptions_1 = convertDartToNative_Dictionary(sensorOptions);
    return RelativeOrientationSensor._create_1(sensorOptions_1);
  }
  return RelativeOrientationSensor._create_2();
}