LoadableImage class final

An object that represents a loadable image.

A loadable image implements the loadable pattern (Loadable) and allows getting the underlying image (through LoadableImage.image) once the image is loaded. For LocalItem thumbnail, the image is read from JSON and is automatically loaded. For PortalItem thumbnail, the loadable image is initialized with the thumbnail URI and needs to be loaded before calling LoadableImage.image.

Implemented types
Mixed in types

Properties

hashCode int
The hash code for this object.
no setterinherited
image ArcGISImage?
The image.
no setter
loadError ArcGISException?
The load error.
no setterinherited
loadStatus LoadStatus
The load status.
no setterinherited
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
uri Uri?
The URI.
no setter

Methods

cancelLoad() → void
Cancels loading metadata for the object.
inherited
load() Future<void>
Loads the metadata for the object asynchronously.
inherited
loadBytes() Future<Uint8List>
Method to load the image bytes.
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