doLottery static method

dynamic doLottery(
  1. bool isNorTab,
  2. int lotteryTimes,
  3. String liveId,
  4. dynamic onSuccess,
  5. dynamic onError,
)

Implementation

static doLottery(bool isNorTab, int lotteryTimes, String liveId, onSuccess, onError) {
  request(apiLuckDolottery, onSuccess, onError, dict: {"lotteryType": isNorTab ? 1 : 2, "lotteryTimes": lotteryTimes, "liveId": liveId});
}