ChatBase class abstract
The base class for your custom Chat model, which has to extend ChatBase
Constructors
- ChatBase()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Id of your ChatMessage
no setter
- isUnread → bool
-
Whether the status of this chat is "unread", e.g. the last message has not been read
no setter
- lastMessage → MessageBase?
-
The chat's last message, used to display below the chat's title
no setter
-
members
→ List<
UserBase> -
The members of this chat, as an extension of UserBase
no setter
- name → String
-
Name of your Chat, used to display as the chat title
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unreadCount → int?
-
The number of unread messages
pass null or 0 if you don't plan on displaying it
no setter
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