flash method
Implementation
Future<bool> flash(bool value) async {
try {
return await _channel.invokeMethod(
'enableFlash',
<String, dynamic>{
'flash': value,
},
);
} on PlatformException catch (e) {
throw CameraException(e.code, e.message!);
}
}