queryRoomMemberAttributesList method

Future<Map> queryRoomMemberAttributesList(
  1. String roomID,
  2. dynamic config
)

Implementation

Future<Map<dynamic, dynamic>> queryRoomMemberAttributesList(
    String roomID, dynamic config) async {
  Object _config = mapToJSObj(config);

  final result = await promiseToFuture(
          ZIM.getInstance()!.queryRoomMemberAttributesList(roomID, _config))
      .catchError((e) {
    throw PlatformException(code: e.code.toString(), message: e.message);
  });

  return jsObjectToMap(result);
}