liveGetUserInfo static method

Future<DataResult> liveGetUserInfo({
  1. required int roomId,
  2. required int userId,
})

Implementation

static Future<DataResult> liveGetUserInfo(
    {required int roomId, required int userId}) async {
  var res = await BaseDao.fromBaseEncryptV3({}, Address.liveGetUserInfo(),
      post: false, queryParameters: {"roomId": roomId, "userId": userId});
  if (res.result) {
    return DataResult(res.data, true);
  }
  return res;
}