setIcon abstract method

void setIcon(
  1. ImageProvider image,
  2. IconStyle style, {
  3. required String name,
})

Creates or resets a named layer with an icon and its style.

Implementation

void setIcon(
  image_provider.ImageProvider image,
  mapkit_map_icon_style.IconStyle style, {
  required core.String name,
});