queryRoomMembers method

Future<Map> queryRoomMembers(
  1. dynamic userIDs,
  2. String roomID
)

Implementation

Future<Map<dynamic, dynamic>> queryRoomMembers(
    dynamic userIDs, String roomID) async {
  final result = await promiseToFuture(
          ZIM.getInstance()!.queryRoomMembers(userIDs, roomID))
      .catchError((e) {
    throw PlatformException(code: e.code.toString(), message: e.message);
  });

  return jsObjectToMap(result);
}