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