setZoom method

Future<void> setZoom({
  1. required double zoom,
})

Zooming to the given zoom.

By default, the zoom animation duration is 400 ms.

Implementation

Future<void> setZoom({required double zoom}) async {
  await this._channel.invokeMethod('setZoom', <String, dynamic>{
    'newZoom': zoom,
  });
}