setSessionPreset method
set the the session preset
Implementation
Future<void> setSessionPreset(cameraSessionPreset) async {
// TODO(amirh): remove this on when the invokeMethod update makes it to stable Flutter.
if (Platform.isAndroid) return;
String? sessionPreset;
await channel.invokeMethod('setSessionPreset', <String, dynamic>{
'sessionPreset': sessionPreset,
});
// _myCameraState.setState(() {});
}