withMap

abstract fun withMap(map: Map<String, KpaElement>): KpaStruct(source)

Builds a new KpaStruct of the factory's adapter family wrapping map.

Return

A new KpaStruct from the factory's adapter family.

Parameters

map

The key-to-value entries the returned struct should expose.