AppBannerAd.fromJson constructor

AppBannerAd.fromJson(
  1. Map<String, dynamic>? json, {
  2. AdSize? size,
})

Implementation

factory AppBannerAd.fromJson(Map<String, dynamic>? json, {AdSize? size}) {
  final _config = BannerConfig.fromJson(json ?? {});
  return AppBannerAd(config: _config, size: size);
}