rotate method

  1. @override
void rotate(
  1. double degree
)
override

Sets the map rotation to a certain degrees angle (in decimal).

Implementation

@override
void rotate(double degree) {
  _state!.rotation = degree;
  if (onRotationChanged != null) onRotationChanged!(degree);
}