placementsFor method
Placements que se aplicam ao contexto dado (página/categoria/posição).
Implementation
List<AdPlacement> placementsFor({
String? path,
String? category,
AdPosition? position,
}) {
if (!enabled) return const [];
return placements
.where(
(p) =>
p.matches(path: path, category: category) &&
(position == null || p.position == position),
)
.toList();
}