setPanningGesturesEnabled method
Sets street view to allow using panning gesture or not.
Return Future while the change has been made on the platform side.
Implementation
@override
Future<void> setPanningGesturesEnabled(int viewId, {bool? enable}) {
assert(enable != null);
return channel(viewId)!
.invokeMethod("streetView#setPanningGesturesEnabled", enable);
}