setZoomLevel method

  1. @override
Future<void> setZoomLevel(
  1. double zoom
)
override

Implementation

@override
Future<void> setZoomLevel(double zoom) {
  assert(zoom >= 0 && zoom <= 10.0);

  return methodChannel.invokeMethod<void>(
    'setZoom',
    <String, dynamic>{
      'zoom': zoom,
    },
  );
}