(objectMap)
| 45 | } |
| 46 | |
| 47 | copyUsingObjectMap(objectMap) { |
| 48 | const blocks = this.getBlocks().map((block) => { |
| 49 | const mappedBlock = objectMap.find(block) |
| 50 | return mappedBlock || block.copyUsingObjectMap(objectMap) |
| 51 | }) |
| 52 | return new this.constructor(blocks) |
| 53 | } |
| 54 | |
| 55 | copyWithBaseBlockAttributes(blockAttributes = []) { |
| 56 | const blocks = this.getBlocks().map((block) => { |
no test coverage detected