skipAnimation method

void skipAnimation({
  1. bool jumpToDestination = true,
})

Stop the current animation

The current animation is completed instantaneously.

Throws

  • An exception if it fails.

Implementation

void skipAnimation({final bool jumpToDestination = true}) {
  objectMethod(
    _pointerId,
    'MapView',
    'skipAnimation',
    args: jumpToDestination,
  );
}