setFlashMode static method

Future<void> setFlashMode(
  1. FlashMode flashMode
)

Switch flash mode from Android / iOS

Implementation

static Future<void> setFlashMode(FlashMode flashMode) {
  return CameraInterface().setFlashMode(flashMode.name.toUpperCase());
}