optionalSlots property
Text slots that show only under a condition, such as a card's tag or an entity's secondary section, keyed by slot.
Implementation
late final Map<String, ShapeVisibility> optionalSlots = Map.unmodifiable(
body == null ? const {} : _optionalSlots(body!),
);