withMap

Builds a new SimpleStruct wrapping a persistent copy of map.

Return

A new SimpleStruct.

Parameters

map

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