DividerBlock

init

Creates an DividerBlock instance.

Return: The DividerBlock instance.

id

Sets a custom identifier for the DividerBlock instance.

Return: The DividerBlock instance.

getMemento

Converts the DividerBlock instance to a serializable format.

Return: (struct) A struct representing this DividerBlock instance.

{
    "type": "divider"
    "block_id": "optional"
}

Last updated