setupCustomAds static method
Configures custom ads (e.g. for offline fallbacks or house campaigns).
Example:
AdsManager.setupCustomAds([
CustomAdModel(
imageUrl: 'assets/images/pro_promo.png',
title: 'Upgrade to Pro',
description: 'Remove ads, unlock cloud sync, and access premium features.',
link: 'https://myapp.com/pro',
callToAction: 'Upgrade Now',
),
]);
Implementation
static void setupCustomAds(List<CustomAdModel> ads) {
_customAds = List.from(ads);
}