Der Name der Variablen. Er muss für alle Variablen und Verfahren eindeutig sein.
opt_type
string | null
Optional: Der Typ der Variablen, z. B. „int“ oder „string“. Muss nicht eindeutig sein. Mit „Field_variable“ können Variablen nach ihrem Typ gefiltert werden. Standardmäßig ist dies „""“, ein bestimmter Typ.
opt_id
string | null
Optional: Die eindeutige ID der Variablen. Standardmäßig wird eine UUID verwendet.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[[["The `createVariable()` method creates a new variable within the Blockly Workspace with a specified name, optional type, and ID."],["Variable names must be unique, while types can be shared and are used for filtering; IDs are auto-generated if not provided."],["The method returns a `VariableModel` object representing the newly created variable, allowing further manipulation."]]],[]]