@@ -2,10 +2,10 @@ import 'package:core/core.dart';
22import 'package:flutter_news_app_mobile_client_full_source_code/ads/ad_provider.dart' ;
33import 'package:flutter_news_app_mobile_client_full_source_code/ads/models/ad_feed_item.dart' ;
44import 'package:flutter_news_app_mobile_client_full_source_code/ads/models/ad_theme_style.dart' ;
5- import 'package:flutter_news_app_mobile_client_full_source_code/ads/models/banner_ad.dart' ; // Import BannerAd
5+ // Import BannerAd
66import 'package:flutter_news_app_mobile_client_full_source_code/ads/models/inline_ad.dart' ; // Import InlineAd
77import 'package:flutter_news_app_mobile_client_full_source_code/ads/models/interstitial_ad.dart' ;
8- import 'package:flutter_news_app_mobile_client_full_source_code/ads/models/native_ad.dart' ; // Import NativeAd
8+ // Import NativeAd
99import 'package:logging/logging.dart' ;
1010import 'package:uuid/uuid.dart' ;
1111
@@ -92,7 +92,7 @@ class AdService {
9292 return null ;
9393 }
9494
95- final String ? adId = switch (adType) {
95+ final adId = switch (adType) {
9696 AdType .native => platformAdIdentifiers.feedNativeAdId,
9797 AdType .banner => platformAdIdentifiers.feedBannerAdId,
9898 _ => null , // Handled by the initial adType check
@@ -189,7 +189,7 @@ class AdService {
189189 }
190190
191191 // Use the correct interstitial ad ID from AdPlatformIdentifiers
192- final String ? adId = platformAdIdentifiers.feedToArticleInterstitialAdId;
192+ final adId = platformAdIdentifiers.feedToArticleInterstitialAdId;
193193
194194 if (adId == null || adId.isEmpty) {
195195 _logger.warning (
0 commit comments