ApiConnection class

Constructors

ApiConnection.new()

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

createGET(String url, Map<String, String> headers, Map<String, String> queryParameters) Future<Response>
createPOST(String url, Map<String, String> headers, Map<String, String>? queryParameters, String? request) Future<Response>
generateToken(GenerateToken obj, String authToken, dynamic onSuccess(String onSuccess), dynamic onError(CometChatCallsException excep)) → void
getApiUrl(String url) String
getDefaultHeaders(String? authToken, String? callToken) Map<String, String>
handleResponse(Response response, dynamic onSuccess(String onSuccess), dynamic onError(CometChatCallsException excep)) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

callAppSettings CallAppSettings?
getter/setter pair