setCameraZoomFactor method

  1. @override
Future<void> setCameraZoomFactor(
  1. double factor
)

Sets the camera zoom ratio.

Parameter factor Sets the camera zoom factor. The value ranges between 1.0 and the maximum zoom supported by the device.

Implementation

@override
Future<void> setCameraZoomFactor(double factor) {
  return _invokeMethod('setCameraZoomFactor', {
    'factor': factor,
  });
}