ApiService class

Constructors

ApiService({required InterceptedClient client, required String appId, required String projectId, String xLennaMobile = '6/mcqKNDl2xPu4yT8uZpNqvK/3hn+V3X3UnklY8CACuOl9xbJdo1IvXGSR6hVOvI55Q/XrJP1ysKU0N7jBWcGQ=='})

Properties

apiUpload String
no setter
appId String
final
baseUrlChat String
no setter
baseUrlVoice String
no setter
client InterceptedClient
final
forgotPasswordUrl String
no setter
hashCode int
The hash code for this object.
no setterinherited
hostSocketIo String
no setter
loginNewUrl String
no setter
loginUrl String
no setter
projectId String
final
registerUrl String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
termConditionUrl String
no setter
xLennaMobile String
final

Methods

createData(String url, Map<String, dynamic> data) Future
get(String url) Future
getDataNoHeader(String url) Future
getHistoryChat({required String userId, String? firstMessageId, int perPage = 10}) Future
getLogout(String userId) Future
getRatingType(String path) Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postDataFormData(String url, MultipartRequest request) Future
postFormDataNoHeader(String url, MultipartRequest request) Future
postNoHeader(String url, Map<String, dynamic> data) Future
postRating(MultipartRequest request) Future
toString() String
A string representation of this object.
inherited

Operators

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