ImageUploadModel class

Constructors

ImageUploadModel({required String id, required String title, String? text, XFile? file, String? imageUrl, ImageSourceType sourceType = ImageSourceType.xfile})

Properties

file ↔ XFile?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
imageUrl ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceType ↔ ImageSourceType
getter/setter pair
text → String?
final
title → String
final
valid ↔ bool
getter/setter pair

Methods

checkValid() → bool
isNotEmpty() → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → dynamic
toString() → String
A string representation of this object.
inherited
updateImage(XFile? pickImage) → dynamic

Operators

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

Static Methods

emptyController() → ImageUploadModel