LinearAccelerationSensor 构造函数
- [Map? sensorOptions]
实现
factory LinearAccelerationSensor([Map? sensorOptions]) {
if (sensorOptions != null) {
var sensorOptions_1 = convertDartToNative_Dictionary(sensorOptions);
return LinearAccelerationSensor._create_1(sensorOptions_1);
}
return LinearAccelerationSensor._create_2();
}