ImageAssetBase class abstract
- Implementers
- Available extensions
Constructors
Properties
- assetId ↔ int
-
Id of the asset as stored on the backend
getter/setter pairinherited
- cdnBaseUrl ↔ String
-
Set the base url of our cdn.
getter/setter pairinherited
- cdnUuid ↔ Uint8List
-
The cdn uuid if it exists
getter/setter pairinherited
- context ↔ CoreContext
-
covariantgetter/setter pairinherited
- coreType → int
-
no setter
-
coreTypes
→ Set<
int> -
no setter
-
fileAssetReferencers
→ List<
WeakReference< FileAssetReferencer< >FileAsset> > -
no setterinherited
- fileExtension → String
-
Returns the file extension, for example for an image it would be png.
no setterinherited
- finalizer ↔ Finalizer
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasValidated → bool
-
no setterinherited
- height ↔ double
-
Height of the original asset uploaded
getter/setter pairinherited
- id ↔ int
-
getter/setter pairinherited
- name ↔ String
-
Name of the asset
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uniqueFilename → String
-
Returns a unique filename, useful for resolving files out of band.
no setterinherited
- width ↔ double
-
Width of the original asset uploaded
getter/setter pairinherited
Methods
-
assetIdChanged(
int from, int to) → void -
inherited
-
cdnBaseUrlChanged(
String from, String to) → void -
inherited
-
cdnUuidChanged(
Uint8List from, Uint8List to) → void -
inherited
-
clone<
K extends Core< (CoreContext> >) → K? -
Make a duplicate of this core object, N.B. that all properties excluding
object id are copied.
inherited
-
copy(
covariant Core< CoreContext> source) → void -
Copies property values, currently doesn't trigger change callbacks. It's
meant to be a helper for clone.
inherited
-
decode(
Uint8List bytes) → Future< void> -
inherited
-
heightChanged(
double from, double to) → void -
inherited
-
import(
ImportStack stack) → bool -
inherited
-
nameChanged(
String from, String to) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onAdded(
) → void -
inherited
-
onAddedDirty(
) → void -
inherited
-
onRemoved(
) → void -
inherited
-
registerFileAssetReferencer(
FileAssetReferencer< FileAsset> referencer) → void -
Add a callback to be executed when the asset has been loaded/updated
inherited
-
remove(
) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
) → bool -
inherited
-
widthChanged(
double from, double to) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited