liveMasterDownSeat static method

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

Implementation

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