setCameraAnimationDuration method
Set the duration of camera animations (ms).
If a duration < 0 then camera animations are disabled, and the camera will move instantly.
The value is 1000 ms by default
Implementation
Future<void> setCameraAnimationDuration(int durationMs) =>
DirectionsRendererPlatform.instance
.setCameraAnimationDuration(durationMs);