Attachment class abstract

Attachment of a ChatItem.

Implementers

Constructors

Attachment({required AttachmentId id, required StorageFile original, required String filename})
Attachment.fromJson(Map<String, dynamic> json)
Constructs an Attachment from the provided json.
factory

Properties

downloading Downloading?
Returns the Downloading of this Attachment, if any.
no setter
downloadStatus DownloadStatus
Returns DownloadStatus of this Attachment.
no setter
filename String
Uploaded file's name.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id AttachmentId
Unique ID of this Attachment.
getter/setter pair
isDownloading bool
Indicates whether downloading of this Attachment is in progress.
no setter
original StorageFile
Original StorageFile representing this Attachment.
getter/setter pair
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
toJson() Map<String, dynamic>
Returns a Map representing this Attachment.
toString() String
A string representation of this object.
inherited

Operators

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