FileUploadManager class

Constructors

FileUploadManager({required WebSocketCubit webSocketCubit, required int currentUserId, required int groupId})

Properties

currentUserId int
final
fileMessageId int?
no setter
groupId int
final
hashCode int
The hash code for this object.
no setterinherited
hasPendingFiles bool
no setter
isUploading bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
webSocketCubit WebSocketCubit
final

Methods

initialize() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
sendFilesOnly(List<AttachmentFile> files, {int? replyToMessageId}) Future<void>
sendTextAndFiles(String text, List<AttachmentFile> files, {int? replyToMessageId}) Future<void>
sendTextOnly(String text, {int? replyToMessageId}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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