CKAsset class
A representation of a CloudKit asset.
Properties
- cachedData ↔ Uint8List?
-
The cached version of the asset.
getter/setter pair
- downloadURL ↔ String?
-
The download URL for the asset.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size ↔ int
-
The size of the asset.
getter/setter pair
Methods
-
fetchAsset(
) → Future< Uint8List?> - Download the asset.
-
getAsImage(
) → MemoryImage? - Return the cached version of the asset as an image, if possible.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited