SolevatoClientService class abstract
Service for handling solevato api calls See SolevatoClientServiceImpl
- Implementers
Constructors
- SolevatoClientService.new(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(
SolevatoNewMessageRequest request) → Future< SolevatoMessage> -
createNewContact(
String inboxIdentifier, SolevatoUser? user) → Future< SolevatoContact> -
createNewConversation(
String inboxIdentifier, String contactIdentifier) → Future< SolevatoConversation> -
getAllMessages(
) → Future< List< SolevatoMessage> > -
getContact(
) → Future< SolevatoContact> -
getConversations(
) → Future< List< SolevatoConversation> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendAction(
String contactPubsubToken, SolevatoActionType action) → void -
startWebSocketConnection(
String contactPubsubToken, {WebSocketChannel onStartConnection(Uri)?}) → void -
toString(
) → String -
A string representation of this object.
inherited
-
updateContact(
dynamic update) → Future< SolevatoContact> -
updateMessage(
String messageIdentifier, dynamic update) → Future< SolevatoMessage>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited