clearSessionUnreadCount method Null safety

Future<NIMResult<List<NIMSessionInfo>>> clearSessionUnreadCount(
  1. List<NIMSessionInfo> sessionInfoList
)

Batch clear the unread count of specific conversations.

sessionInfoList The conversation list

The conversations whose unread counts failed to be cleared will be returned.

Implementation

Future<NIMResult<List<NIMSessionInfo>>> clearSessionUnreadCount(
  List<NIMSessionInfo> sessionInfoList,
) {
  return _platform.clearSessionUnreadCount(sessionInfoList);
}