ChatwootClientService class abstract

Service for handling chatwoot api calls See ChatwootClientServiceImpl

Implementers

Constructors

ChatwootClientService(String _baseUrl, Dio _dio)

Properties

connection ↔ WebSocketChannel?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createMessage(ChatwootNewMessageRequest request) Future<ChatwootMessage>
getAllMessages() Future<List<ChatwootMessage>>
getContact() Future<ChatwootContact>
getConversations() Future<List<ChatwootConversation>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendAction(String contactPubsubToken, ChatwootActionType action) → void
startWebSocketConnection(String contactPubsubToken, {WebSocketChannel onStartConnection(Uri)?}) → void
toString() String
A string representation of this object.
inherited
updateContact(dynamic update) Future<ChatwootContact>
updateMessage(String messageIdentifier, dynamic update) Future<ChatwootMessage>

Operators

operator ==(Object other) bool
The equality operator.
inherited