livePostMasterInvite static method

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

Implementation

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