O nome da variável. Ele precisa ser exclusivo entre variáveis e procedimentos.
opt_type
string | null
(Opcional): o tipo da variável, como "int" ou "string". Não precisa ser exclusivo. Field_variable pode filtrar variáveis com base no tipo delas. O padrão será "39", que é um tipo específico.
opt_id
string | null
(Opcional) O ID exclusivo da variável. O padrão será um UUID.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-05-16 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."]]],[]]