clearConversationUnreadMessageCount method
Future<Map>
clearConversationUnreadMessageCount(
- String conversationID,
- int conversationType
)
Implementation
Future<Map<dynamic, dynamic>> clearConversationUnreadMessageCount(
String conversationID, int conversationType) async {
final result = await promiseToFuture(ZIM
.getInstance()!
.clearConversationUnreadMessageCount(
conversationID, conversationType))
.catchError((e) {
throw PlatformException(code: e.code.toString(), message: e.message);
});
return jsObjectToMap(result);
}