UploadHelper class

Constructors

UploadHelper()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Methods

uploadFile({required File file, required dynamic conversationId, dynamic onProgress(double progress)?}) Future<String?>
Tải lên một tệp File
uploadFileData({required dynamic conversationId, required Uint8List data, required String fileName, bool isNeedCompress = false, dynamic onProgress(double progress)?}) Future<String?>
Tải lên dữ liệu dạng Uint8List