ImageAssetItem class
Constructors
- ImageAssetItem({required String path, required String name, required String hash, required Lib lib, required SharedOptions options, Uint8List? content, required int width, required int height})
Properties
-
assetExists
→ Future<
bool> -
no setterinherited
-
checkOrCreateDustbin
→ Future<
void> -
no setterinherited
- content ↔ Uint8List?
-
getter/setter pairinherited
-
dustbinExists
→ Future<
bool> -
no setterinherited
- dustbinPath → String
-
no setterinherited
- hash → String
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
final
- isUse → bool
-
no setterinherited
- lib → Lib
-
finalinherited
- name → String
-
finalinherited
- options → SharedOptions
-
finalinherited
- path → String
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
{bool useMemory = false, bool isFailTip = true}) → Future< bool> -
inherited
-
resume(
{bool useMemory = false, bool isFailTip = true}) → Future< bool> -
inherited
-
toModelString(
) → String -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
toValueString(
) → String -
override
-
updateConttent(
) → Future< void> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
explainModel(
{required Lib lib, required SharedOptions options, required String content, required void callback(ImageAssetItem asset)}) → String -
override
-
explainValue(
{required Lib lib, required SharedOptions options, required String content, required void callback(ImageAssetItem asset)}) → String -
override
-
readFile(
String path, Lib lib, SharedOptions options) → Future< AssetItem?> -
override