createThumbnail method

Future<ArcGISImage> createThumbnail({
  1. required int width,
  2. required int height,
})

Creates asynchronously a thumbnail image with the specified width and height.

This is only supported if the PopupAttachment.type is PopupAttachmentType.image.

Parameters:

  • width — Width of the thumbnail.
  • height — Height of the thumbnail.

Return Value: A task that represents the asynchronous operation. The task result contains the thumbnail as an ArcGISImage.