getCallLogsList static method
Future<void>
getCallLogsList({
- required int currentPage,
- required dynamic flyCallBack(
- FlyResponse response
Provides access to call logs list from the platform.
Retrieves a list of call logs from the platform asynchronously.
currentPage
: The current page number to retrieve the call logs list from.
The flyCallBack
parameter is a function that will be called upon completion of the operation.
It receives a FlyResponse object as a parameter, which contains information about the success or failure of the operation.
Example usage:
Mirrorfly.getCallLogsList(currentPage: 1,flyCallBack: (response){
});
Implementation
// if (response.isSuccess) {
// var list = callLogListFromJson(response.data);
// }
/// });
/// ```
static Future<void> getCallLogsList(
{required int currentPage,
required Function(FlyResponse response) flyCallBack}) {
return FlyChatFlutterPlatform.instance
.getCallLogsList(currentPage, flyCallBack);
}