resetUnreadMessageCount method

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

Implementation

Future<void> resetUnreadMessageCount({
  @required dynamic target, //(JMSingle | JMGroup | JMChatRoom)
}) async {

  Map param = target.toJson();
  await _channel.invokeMethod('resetUnreadMessageCount',
  param..removeWhere((key, value) => value == null));

  return;
}