ItemImageController<T extends BaseModel> class

Annotations
  • @riverpod

Constructors

ItemImageController()

Properties

hashCode int
The hash code for this object.
no setterinherited
initialItem ↔ T?
latefinalinherited
localImages List<XFile>
no setter
removedImages List<String>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedImagePaths List<String>
no setter

Methods

addLocalImage(XFile image) → void
build(T? initialItem) → T?
deleteFile(String uid, String imageUrl) Future<void>
markImageForDeletion(String imageUrl) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pickImage() Future<void>
removeLocalImage(XFile image) → void
toString() String
A string representation of this object.
inherited
uploadFile(String uid, XFile file) Future<String>
uploadFiles(String uid) Future<void>

Operators

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