loadAd method

dynamic loadAd({
  1. required String posId,
  2. required double adWidth,
  3. required double adHeight,
  4. bool? showClose = false,
})

Implementation

loadAd({
  required String posId,
  required double adWidth,
  required double adHeight,
  bool? showClose = false,
}) {
  load(
    posId: posId,
    methodName: ProAdCore.methodLoadServiceAd,
    arguments: {
      ProAdCore.keyAdWidth: adWidth,
      ProAdCore.keyAdHeight: adHeight,
      ProAdCore.keyAdShowClose: showClose
    },
  );
}