toggleFlash method

void toggleFlash()

Toggles flash for still captures.

Implementation

void toggleFlash() {
  flashOn = !flashOn;
  _safeNotify();
}