rotate abstract method
Rotate the map to a specific value.
rotation
target rotation of the map (in degrees)
animate
set to true to rotate with animation. Default false
onAnimateEnd
callback function to be called when rotation is finished
Implementation
void rotate(double rotation, {bool animate = false, Function? onAnimateEnd});