rotate abstract method

bool rotate(
  1. double degree, {
  2. String? id,
})

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

Optionally provide id attribute and if you listen to mapEventStream later a MapEventRotate event will be emitted (if rotate was success) with same id attribute. Event's source attribute will be MapEventSource.mapController.

returns true if rotate was success (it won't be success if rotate is same as the old rotate)

Implementation

bool rotate(double degree, {String? id});