getLocalCallLogs method

  1. @override
Future<String> getLocalCallLogs()
override

This method is used to get the local call log list.

Implementation

@override
Future<String> getLocalCallLogs() async {
  String? re;
  try {
    re =
        await mirrorFlyCallMethodChannel.invokeMethod("getLocalCallLogs", {});
    return convertCallLogsToJson(re);
  } on PlatformException catch (e) {
    LogMessage.d("er", "$e");
    return convertCallLogsToJson(re);
  }
}