setVisible abstract method
Manages visibility of the object.
animation
Describes the transition between visible and not visible
states.
onFinished
Called when the transition is finished.
Implementation
void setVisible(
mapkit_animation.Animation animation, {
required core.bool visible,
mapkit_map_callback.Callback? onFinished,
});