getCallLogList method

void getCallLogList(
  1. CallLogFilterParams params,
  2. String authToken,
  3. dynamic onSuccess(
    1. String onSuccess
    ),
  4. dynamic onError(
    1. CometChatCallsException excep
    )
)

Get Call Logs List

Implementation

void getCallLogList(
    CallLogFilterParams params,
    String authToken,
    Function(String onSuccess) onSuccess,
    Function(CometChatCallsException excep) onError
) async {
  final response = await createGET(getApiUrl(_urlCallLogs), getDefaultHeaders(authToken, null), params.toMap());
  handleResponse(response, onSuccess, onError);
}