AmbientLightSensor constructor

AmbientLightSensor([
  1. Map? sensorOptions
])

Implementation

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