Makes a codec for a map: an object or a list of entries to a ReadonlyMap that throws on change.
ReadonlyMap
Makes a codec for a map: an object or a list of entries to a
ReadonlyMapthat throws on change.