livePostRoomList static method

Future<DataResult> livePostRoomList({
  1. required int type,
  2. required int num,
  3. int? size,
})

Implementation

static Future<DataResult> livePostRoomList(
    {required int type, required int num, int? size}) async {
  var res = await BaseDao.fromBaseEncryptV3(
    {'type': type, 'num': num, "size": size ?? 20},
    Address.livePostLiveList(),
  );
  if (res.result) {
    return DataResult(res.data, true);
  }
  return res;
}