setAutoRotation abstract method

void setAutoRotation({
  1. required bool enabled,
  2. Animation? animation,
})

Set autorotation in 'Following' camera mode. animation parameter ignored if camera currently not in the 'Following' mode. Enabled by default.

Implementation

void setAutoRotation({
  required core.bool enabled,
  mapkit_animation.Animation? animation,
});