readV2Block
readV2Block(
doc):MapModel
Defined in: packages/core/src/model/read-v2.ts:116
Turn a validated format-v2 block into the internal MapModel.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
doc | {[key: string]: any; } | a block already validated against MapBlockV2Schema. |
Returns
Section titled “Returns”the internal model — deep-equal to the v1 twin’s (AE2).