SolevatoClientServiceImpl class
- Inheritance
-
- Object
- SolevatoClientService
- SolevatoClientServiceImpl
Constructors
- SolevatoClientServiceImpl.new(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(
SolevatoNewMessageRequest request) → Future< SolevatoMessage> -
Sends message to solevato inbox
override
-
createNewContact(
String inboxIdentifier, SolevatoUser? user) → Future< SolevatoContact> -
Creates new contact for inbox with
inboxIdentifier
and passesuser
body to be linked to created contactoverride -
createNewConversation(
String inboxIdentifier, String contactIdentifier) → Future< SolevatoConversation> -
Creates a new conversation for inbox with
inboxIdentifier
and contact with source idcontactIdentifier
override -
getAllMessages(
) → Future< List< SolevatoMessage> > -
Gets all messages of current solevato client instance's conversation
override
-
getContact(
) → Future< SolevatoContact> -
Gets contact of current solevato client instance
override
-
getConversations(
) → Future< List< SolevatoConversation> > -
Gets all conversation of current solevato client instance
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendAction(
String contactPubsubToken, SolevatoActionType actionType) → void -
override
-
startWebSocketConnection(
String contactPubsubToken, {WebSocketChannel onStartConnection(Uri)?}) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
updateContact(
dynamic update) → Future< SolevatoContact> -
Update current client instance's contact
override
-
updateMessage(
String messageIdentifier, dynamic update) → Future< SolevatoMessage> -
Update message with id
messageIdentifier
with contents ofupdate
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited