blockly > serialization > workspaceComments > WorkspaceCommentSerializer > save
serialization.workspaceComments.WorkspaceCommentSerializer.save() method
Returns the state of all workspace comments in the given workspace.
Signature:
save(workspace: Workspace): State[] | null;
Parameters
Parameter | Type | Description |
---|---|---|
workspace | Workspace |
Returns:
State[] | null