StreamAttachmentPackage class

The StreamAttachmentPackage class is basically meant to wrap individual attachments with their corresponding message

Constructors

StreamAttachmentPackage({required Attachment attachment, required Message message})
Default constructor to prepare an StreamAttachmentPackage object

Properties

attachment Attachment
This is the individual attachment
final
hashCode int
The hash code for this object.
no setterinherited
message Message
This is the message that the attachment belongs to The message object may have attachemnt(s) other than the one packaged
final
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