setView abstract method
Sets the view 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 setView(
view_provider.ViewProvider view, {
mapkit_map_icon_style.IconStyle? style,
mapkit_map_callback.Callback? onFinished,
});