ChatRoom class
Represents a chat room
Constructors
Properties
- avatarUrl → String?
-
Status of the latest message
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- latestMessage → String
-
Latest message in the chat room
final
- latestMessageStatus → String?
-
Status of the latest message
final
- latestMessageTime → DateTime
-
Timestamp of the latest message
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unreadCount → int
-
Number of unread messages
final
- userId → String
-
ID of the user in this chat room (not the current user)
final
- username → String
-
Username or display name of the other user
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Converts ChatRoom to a Map object
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited