* Find the block on this workspace with the specified ID. * * @param id ID of block to find. * @returns The sought after block, or null if not found.
(id: string)
| 639 | * @returns The sought after block, or null if not found. |
| 640 | */ |
| 641 | getBlockById(id: string): Block | null { |
| 642 | return this.blockDB.get(id) || null; |
| 643 | } |
| 644 | |
| 645 | /** |
| 646 | * Set a block on this workspace with the specified ID. |
no test coverage detected