Attachment class

Constructors

Attachment()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uuid ↔ Uuid
getter/setter pair

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

pickAudio() → Future<File?>
pickFile() → Future<File?>
pickImage() → Future<File?>
pickImageFromCamera() → Future<File?>
pickVideo() → Future<File?>
uploadAttachment(File file, dynamic type, String fileStore, {required dynamic cb(String id, String message, String type, {String? tempUniqueId}), required Function onMessageSend, required BuildContext context, required String interactionId, required User user, required String appId, String threadId = ""}) → dynamic