torchTurnedOn property

bool? get torchTurnedOn

If set, torch (if available) will turn on immediately on camera preview start.

Default: false.

Implementation

bool? get torchTurnedOn => _torchTurnedOn;
set torchTurnedOn (bool? val)

Implementation

set torchTurnedOn(bool? val) {
  _torchTurnedOn = val;
  _set({"torchTurnedOn": val});
}