Tên của biến. Giá trị này phải là duy nhất trên các biến và quy trình.
opt_type
string | null
(Không bắt buộc) Loại biến như "int" hoặc "string". Không cần phải là giá trị duy nhất. Field_variable có thể lọc các biến dựa trên loại biến. Giá trị này sẽ mặc định là "", đây là một loại cụ thể.
opt_id
string | null
(Không bắt buộc) Mã nhận dạng duy nhất của biến. Giá trị này sẽ mặc định là UUID.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 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."]]],[]]