MessageDetails class
Class for message details
Constructors
-
MessageDetails(String currentUserId, Message message, List<
Message> messages, int index) - Constructor for creating MessageDetails
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
The index of the message
final
- isLastUser ↔ bool
-
True if the user message is the same of the previous message
latefinal
- isMyMessage ↔ bool
-
True if the message belongs to the current user
latefinal
- isNextUser ↔ bool
-
True if the user message is the same of the next message
latefinal
- message → Message
-
The message
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