DOOClientServiceImpl class

Inheritance

Constructors

DOOClientServiceImpl(String baseUrl, {required Dio dio})

Properties

connection ↔ WebSocketChannel?
getter/setter pairinherited
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(DOONewMessageRequest request) Future<DOOMessage>
Sends message to DOO inbox
override
getAllMessages() Future<List<DOOMessage>>
Gets all messages of current DOO client instance's conversation
override
getContact() Future<DOOContact>
Gets contact of current DOO client instance
override
getConversations() Future<List<DOOConversation>>
Gets all conversation of current DOO client instance
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendAction(String contactPubsubToken, DOOActionType actionType) → void
override
startWebSocketConnection(String contactPubsubToken, {WebSocketChannel onStartConnection(Uri)?}) → void
override
toString() String
A string representation of this object.
inherited
updateContact(dynamic update) Future<DOOContact>
Update current client instance's contact
override
updateMessage(String messageIdentifier, dynamic update) Future<DOOMessage>
Update message with id messageIdentifier with contents of update
override

Operators

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