clearConversationUnreadMessageCount method

Future<Map> clearConversationUnreadMessageCount(
  1. String conversationID,
  2. int conversationType
)

Implementation

Future<Map<dynamic, dynamic>> clearConversationUnreadMessageCount(
    String conversationID, int conversationType) async {
  final result = await promiseToFuture(ZIM
          .getInstance()!
          .clearConversationUnreadMessageCount(
              conversationID, conversationType))
      .catchError(handleError);

  return jsObjectToMap(result);
}