ContigoChatApi class abstract

Annotations
  • @RestApi()

Constructors

ContigoChatApi(Dio dio, {required String baseUrl})
factory

Properties

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

Methods

getMessages(RpcPayload<GetMessagesParams> payload) Future<RpcResponse<List<Message>>>
initMessaging(RpcPayload<InitMessagingParams> payload) Future<RpcResponse<InitMessagingResult>>
login(RpcPayload<LoginParams> payload) Future<RpcResponse<LoginResult>>
messageFetch(RpcPayload<MessageFetchParams> payload) Future<RpcResponse<List<Message>>>
messagePost(RpcPayload<MessagePostParams> payload) Future<RpcResponse<int>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
poll(RpcPayload<PollParams> payload) Future<RpcResponse<List<PollResult>>>
sendMessage(RpcPayload<SendMessageParams> payload) Future<RpcResponse<Message>>
toString() String
A string representation of this object.
inherited

Operators

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