getArtboard()

Finds and returns a deep-cloned artboard by its ID. Read-only; does not mutate widget state.

Signature


Parameters

id string
The ID of the artboard to retrieve.

Returns

The requested Artboard, or null if the project has no artboards or the ID does not exist.

Example