PopupAttachment class final

Represents an attachment belonging to a popup. Wraps the Attachment object and adds additional properties and methods to support displaying attachments in a popup.

Implemented types
Mixed-in types

Properties

attachment → Attachment?
The underlying Attachment.
no setter
contentType → String
The MIME content type of the PopupAttachment.
no setter
fileUri → Uri?
The local temporary filepath where we store the attachment once it is loaded.
no setter
hashCode → int
The hash code for this object.
no setterinherited
isLocal → bool
A value indicating whether "loading" (fetching the data) can be accomplished without using the network.
no setter
loadError → ArcGISException?
The load error.
no setterinherited
loadStatus → LoadStatus
The load status.
no setterinherited
name → String
The name of the PopupAttachment.
no setter
onLoadStatusChanged → Stream<LoadStatus>
A stream that reports changes to the LoadStatus.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → int
The size of the PopupAttachment in bytes.
no setter
type → PopupAttachmentType
The type of the PopupAttachment.
no setter

Methods

cancelLoad() → void
Cancels loading metadata for the object.
inherited
createFullImage() → Future<ArcGISImage>
Creates asynchronously the full image for displaying the attachment in full screen or some UI larger than a thumbnail.
createThumbnail({required int width, required int height}) → Future<ArcGISImage>
Creates asynchronously a thumbnail image with the specified width and height.
load() → Future<void>
Loads the metadata for the object asynchronously.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retryLoad() → Future<void>
Loads or retries loading metadata for the object asynchronously.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited