livePostApplyForMike static method

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

Implementation

static Future<DataResult> livePostApplyForMike(
    {required int roomId, required int type}) async {
  Map<String, dynamic> params = {
    'roomId': roomId,
    'type': type,
  };
  var res = await BaseDao.fromBaseEncryptV3(
    params,
    Address.livePostApplyForMike(),
  );
  if (res.result) {
    return DataResult(res.data, true);
  }
  return res;
}