DataComponentMap

Maps DataComponentType DataComponentTypes to their values.

Types

Link copied to clipboard
class Builder

A builder for DataComponentMap DataComponentMaps.

Link copied to clipboard
object Companion
Link copied to clipboard

A builder for Provider Providers.

Functions

Link copied to clipboard
operator fun contains(type: DataComponentType): Boolean

Checks whether the map contains a value for the given type.

Link copied to clipboard
operator fun <T : Any> get(type: DataComponentType.Valued<T>): T?

Gets the value under the given type, or null if there is no value.