withMap

Builds a new YamlMapAdapter wrapping a fresh YamlMap whose keys are YamlLiterals.

Return

A new YamlMapAdapter.

Parameters

map

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