exitConversation method

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

Implementation

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

  return;
}