AmbientLightBarrier.above constructor

AmbientLightBarrier.above({
  1. required String barrierLabel,
  2. required double? minLightIntensity,
})

Implementation

AmbientLightBarrier.above({
  required this.barrierLabel,
  required this.minLightIntensity,
}) : super(
        barrierEventType: _Param.ambientLightBarrierReceiverAction,
        barrierType: _Param.ambientLightAboveBarrier,
        barrierLabel: barrierLabel,
      ) {
  maxLightIntensity = null;
}