toggleTorch method

Future<bool> toggleTorch()

Implementation

Future<bool> toggleTorch() => setTorch(!_torchEnabled);