MessageRow class

A message bubble.

Inheritance

Constructors

MessageRow(MessageDto message, {required bool mine, required bool showSender, required bool showSeen, String? senderLabel, bool askEmail = false, MessageCard? card, bool paid = false})
Creates a message row.
const

Properties

askEmail → bool
The assistant asked for an email and none is known: show the inline form.
final
card → MessageCard?
The card under the bubble (product, order, payment, quick replies, rating), for messages from the team. Quick replies only on the newest item.
final
hashCode → int
The hash code for this object.
no setterinherited
key → String
Stable key for the list.
no setteroverride
message → MessageDto
The message.
final
mine → bool
Written by this visitor.
final
card is a payment card and its order was paid: by its status, or a later order_paid message or event (see PaidMarks).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
senderLabel → String?
Sender name (with the AI suffix for bots).
final
showSeen → bool
Show the "Seen" marker under the bubble.
final
showSender → bool
Show the sender name under the bubble.
final

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