FileUploadItem class
Model for file upload item
Constructors
- FileUploadItem({required File file, required String fieldName, String? filename})
Properties
- extension → String
-
Get file extension
no setter
- fieldName → String
-
final
- file → File
-
final
- filename → String?
-
final
- fileSize → String
-
Get file size
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDocument → bool
-
Check if file is document
no setter
- isImage → bool
-
Check if file is image
no setter
- isVideo → bool
-
Check if file is video
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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