setZoom method
Implementation
Future<void> setZoom({double? zoomLevel, double? stepZoom}) async {
assert(zoomLevel != null || stepZoom != null);
if (zoomLevel != null) {
await interop.setZoom(mapIdMixin, zoomLevel);
} else if (stepZoom != null) {
await interop.setZoomStep(mapIdMixin, stepZoom);
}
}