zoomRatio method
Implementation
Future<void> zoomRatio(double zoom) async {
try {
await _platform.zoomRatio(zoom);
// state.eventNotifier.value = CameraEvent.resumed;
} catch (error, stack) {
state._error = error;
state.eventNotifier.value = CameraEvent.error;
debugPrint(error.toString());
debugPrintStack(stackTrace: stack);
}
}