ChatService class
Constructors
- ChatService.new({required String baseUrl, required String appId})
Properties
Methods
-
createChatSession(
{required String chatContent, required String customerName, String? customerEmail, String? customerPhone, String? languageInstance}) → Future< ChateRegisterResponse> -
fetchMessages(
) → Future< ChatListResponse> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notificationToken(
{required String token, required String userId}) → Future< void> -
sendChatMessage(
{List< String> ? filePath, required String chatContent}) → Future<ChatSentResponse> -
socketEmitIsWorking(
String customerId) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited