clearInlineContent method
Clears inline content (carousels/stories) for each key in placementKeys.
Once loaded, inline content is retained indefinitely — hosts should call
this on logout so a stale user's content doesn't linger across the
account switch. No-op if placementKeys is empty.
Implementation
void clearInlineContent(List<String> placementKeys) {
if (!_initialized) {
debugPrint('[Digia] clearInlineContent() called before initialize().');
return;
}
for (final key in placementKeys) {
_controller.clearInlineSlot(key);
}
}