setCameraMode method

Future setCameraMode(
  1. {@required CameraMode camMode}
)

Implementation

Future setCameraMode({@required CameraMode camMode}) async {
  return channel.invokeMethod('setCameraMode', <String, dynamic>{
    'cameraMode': CameraMode.values.indexOf(camMode),
  });
}