awardBalance method

Future<void> awardBalance(
  1. String adUnitId,
  2. int count
)

添加用户积分墙积分:adUnitId 广告位ID,count 添加的数量

Implementation

Future<void> awardBalance(String adUnitId, int count) async {
  Map arguments = {};
  arguments['adUnitID'] = adUnitId;
  arguments['count'] = count;
  TradplusSdk.channel.invokeMethod('offerwall_award', arguments);
}