setFocusMode method
Sets the focus mode for taking pictures.
Implementation
@override
Future<void> setFocusMode(int cameraId, FocusMode mode) => _channel.invokeMethod<void>(
'setFocusMode',
<String, dynamic>{
'cameraId': cameraId,
'mode': serializeFocusMode(mode),
},
);