liveGetOnMike static method

Future<DataResult> liveGetOnMike({
  1. required int roomId,
  2. required int type,
})

Implementation

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