setCameraZoomFactor method Null safety

Future<int> setCameraZoomFactor(
  1. int factor
)

Set the zoom factor of the camera

Implementation

Future<int> setCameraZoomFactor(int factor) async {
  IntValue reply = await _api.setCameraZoomFactor(IntValue()..value = factor);
  return reply.value ?? -1;
}