setThumbnail method

void setThumbnail({
  1. ArcGISImage? image,
})

Sets the provided thumbnail image to this basemap gallery item.

If image is null, defaults to the basemap's associated PortalItem thumbnail, if it exists.

Implementation

void setThumbnail({ArcGISImage? image}) {
  _thumbnailOverride = image;
  _recomputeDerivedFields();
}