loadAd method

dynamic loadAd({
  1. required String posId,
  2. required double adWidth,
  3. required double adHeight,
  4. Map<String, String> scenes = const {},
  5. bool? showClose = false,
})

Implementation

loadAd({
  required String posId,
  required double adWidth,
  required double adHeight,
  Map<String, String> scenes = const {},
  bool? showClose = false,
}) {
  load(
    posId: posId,
    methodName: BwtAdCore.methodLoadServiceAd,
    arguments: {
      BwtAdCore.keyAdWidth: adWidth,
      BwtAdCore.keyAdHeight: adHeight,
      BwtAdCore.keyAdShowClose: showClose,
      BwtAdCore.keyScenes:scenes,
    },
  );
}