setImage abstract method
Sets the image for the icon.
style The icon style. If not specified, the default style is used.
onFinished Optional callback invoked when the icon is loaded.
Implementation
void setImage(
image_provider.ImageProvider image, {
mapkit_map_icon_style.IconStyle? style,
mapkit_map_callback.Callback? onFinished,
});