livePostUnlockRoom static method

Future<DataResult> livePostUnlockRoom({
  1. required int liveId,
  2. required int roomId,
})

Implementation

static Future<DataResult> livePostUnlockRoom(
    {required int liveId, required int roomId}) async {
  var res = await BaseDao.fromBaseEncryptV3(
    {'liveId': liveId, 'roomId': roomId},
    Address.livePostLiveList(),
  );
  if (res.result) {
    return DataResult(res.data, true);
  }
  return res;
}