ChatService class
Service for handling real-time chat between employees and employers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getMyTicketChats(
{required String tenantProductID, required String projectID}) → Future< Map< String, dynamic> > - Fetch all ticket chats using myTicketChats query with FULL ticket details including profile images
-
getTicketChatMessages(
{required String ticketID}) → Future< Map< String, dynamic> > - Fetch chat messages for a specific ticket
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendTicketChatMessage(
{required String ticketID, required String receiverID, required String content}) → Future< Map< String, dynamic> > - Send a chat message for a specific ticket/job
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited