setThumbnail method

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

Sets the thumbnail of the item with the specified image.

Parameters:

  • image — The image (can be null).

Implementation

void setThumbnail({required ArcGISImage? image}) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_Item_setThumbnailWithImage(
        _handle, image?._handle ?? ffi.nullptr, errorHandler);
  });
}