setFlash method

Future<bool> setFlash(
  1. bool on
)

Toggles the device flash/torch.

Implementation

Future<bool> setFlash(bool on) => NexoraSdkPlatform.instance.setFlash(on);