playWithCallback abstract method

void playWithCallback(
  1. Callback onFinished
)

Starts animation and handles the callback.

onFinished is called when animation finishes and replaces the previous callback.

Implementation

void playWithCallback(mapkit_map_callback.Callback onFinished);