isTorchEnabled property

bool get isTorchEnabled

Whether the torch (flashlight) is currently enabled, per the last setTorchMode/toggleTorch call.

Implementation

bool get isTorchEnabled => _torchEnabled;