applovinAddCoin static method

Future<DataResult> applovinAddCoin(
  1. String? adUnit
)

Implementation

static Future<DataResult> applovinAddCoin(String? adUnit) async {
  Map other = {'adUnit': adUnit};
  var res = await BaseDao.fromBaseJson(other, Address.applovinAddCoin());
  if (res.result) {
    var entity = TokenEntity.fromJson(res.data);
    return DataResult(entity, true);
  }
  return res;
}