Chat class
Represents a chat between a customer and a nutritionist.
Constructors
Properties
- chatId → String
-
Unique identifier for the chat.
final
- customerId → String
-
The ID of the customer involved in the chat.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastMessage → String
-
The last message sent in the chat.
final
- lastMessageTime → DateTime
-
The time when the last message was sent.
final
- nutritionistId → String
-
The ID of the nutritionist involved in the chat.
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
-
toMap(
) → Map< String, dynamic> - Converts this Chat instance to a Map for Firestore storage.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited