deleteConversation method

Future<void> deleteConversation ({@required dynamic target })

Implementation

Future<void> deleteConversation({
  @required dynamic target, //(JMSingle | JMGroup | JMChatRoom)
}) async {
  Map param = target.toJson();
  await _channel.invokeMethod('deleteConversation',
  param..removeWhere((key, value) => value == null));

  return;
}