getCurrentDirectionBannerSize static method

Future<BannerAdSize> getCurrentDirectionBannerSize(
  1. int width
)

Implementation

static Future<BannerAdSize> getCurrentDirectionBannerSize(int width) async {
  Map<dynamic, dynamic> bannerJson = await Ads.instance.channel.invokeMethod(
    'getCurrentDirectionBannerSize',
    <String, dynamic>{
      'width': width,
    },
  );
  return fromJson(bannerJson);
}