LinearAccelerationSensor constructor

LinearAccelerationSensor(
  1. [Map? sensorOptions]
)

Implementation

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