setZoomGesturesEnabled method

  1. @override
Future<void> setZoomGesturesEnabled(
  1. int viewId, {
  2. bool? enable,
})
override

Sets street view to allow using zoom gestures or not.

Return Future while the change has been made on the platform side.

Implementation

@override
Future<void> setZoomGesturesEnabled(int viewId, {bool? enable}) {
  assert(enable != null);
  return channel(viewId)!
      .invokeListMethod("streetView#setZoomGesturesEnabled", enable);
}