setImageWithCallback abstract method

void setImageWithCallback(
  1. ImageProvider image,
  2. IconStyle style,
  3. Callback onFinished
)

Sets the image with the given style for the icon. The callback will be called immediately after the icon finished loading.

onFinished Called when the icon is loaded.

Implementation

void setImageWithCallback(
    image_provider.ImageProvider image,
    mapkit_map_icon_style.IconStyle style,
    mapkit_map_callback.Callback onFinished);