changeFlashMode method

Future<void> changeFlashMode(
  1. CameraFlashMode captureFlashMode
)

Call change flash mode in Native API

Implementation

Future<void> changeFlashMode(CameraFlashMode captureFlashMode) {
  return _channel.invokeMethod(
      'changeFlashMode', {"flashMode": _getCharFlashMode(captureFlashMode)});
}