Accelerometer 构造函数

Accelerometer(
  1. [Map? sensorOptions]
)

实现

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