fetchChatroomMembersByAccount method Null safety

Future<NIMResult<List<NIMChatroomMember>>> fetchChatroomMembersByAccount(
  1. {required String roomId,
  2. required List<String> accountList}
)

Get the current chatroom members.

roomId Specify the chatroom ID.

accountList Specify the member account list.

Implementation

Future<NIMResult<List<NIMChatroomMember>>> fetchChatroomMembersByAccount({
  required String roomId,
  required List<String> accountList,
}) async {
  return _platform.fetchChatroomMembersByAccount(
      roomId: roomId, accountList: accountList);
}