clearConversations static method
清空会话类型列表中的所有会话及会话信息
Implementation
static Future<void> clearConversations(List<int> conversationTypes, Function(int? code)? finished) async {
Map paramMap = {"conversationTypes": conversationTypes};
int? result = await _channel.invokeMethod(RCMethodKey.ClearConversations, paramMap);
if (finished != null) {
finished(result);
}
}