animateTo method
Animate camera to a given positionStreetViewPanoramaCamera over a specified duration.
Return Future while the change has been started on the platform side.
Implementation
@override
Future<void> animateTo(int viewId,
{StreetViewPanoramaCamera? camera, int? duration}) {
return channel(viewId)!.invokeMethod("streetView#animateTo",
camera!.toMap()..putIfAbsent("duration", () => duration!.toDouble()));
}