getUnReadMsgCount method

  1. @override
Future<List?> getUnReadMsgCount({
  1. required String conversationId,
})
override

Get list of conversations for logged in user last message unread count#

Implementation

@override
Future<List?> getUnReadMsgCount({required String conversationId}) async {
  final List? lastMessageList = await methodChannel.invokeMethod(
      'getUnReadMsgCount',
      {"conversationId": conversationId});
  return lastMessageList ?? [];
}