UrlUploadStatusEntity class

Provides status data from fromUrl uploading

Constructors

UrlUploadStatusEntity({required UrlUploadStatusValue status, String errorMessage = '', FileInfoEntity? fileInfo, ProgressEntity? progress})
const
UrlUploadStatusEntity.fromJson(Map<String, dynamic> json)
factory

Properties

errorMessage String
Error message if status equal UrlUploadStatusValue.Error
final
fileInfo FileInfoEntity?
File info if status equal UrlUploadStatusValue.Success
final
hashCode int
The hash code for this object.
no setterinherited
progress ProgressEntity?
Progress info if status equal UrlUploadStatusValue.Progress
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status UrlUploadStatusValue
Upload status
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
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