ChatService class

Constructors

ChatService.new({required String baseUrl, required String appId})

Properties

appId String
final
baseUrl String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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