环境光传感器 构造函数

环境光传感器([
  1. 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();
}