# Package-level declarations

## Types

MetaContainer
Link copied to clipboard
@Serializable
data class MetaContainer (val map: Map < MetaContainer.Key <*>, Any >)

A polymorphic container for storing heterogeneous key-value pairs with type-safe retrieval. Each key is bound to a specific type, enabling type-safe access to stored values.

MetaContainerRootMapWarning
Link copied to clipboard
@ RequiresOptIn (message = "Do not use this directly without any special reason", level = RequiresOptIn.Level.WARNING )
@ Target (allowedTargets = [ AnnotationTarget.FIELD ])
annotation class MetaContainerRootMapWarning

Marks the direct use of MetaContainer.map as requiring explicit opt-in.

## Functions

buildMetaContainer
Link copied to clipboard
fun buildMetaContainer (block: MetaContainer.Builder .() -> Unit ): MetaContainer

DSL builder function for creating a MetaContainer with a lambda block.