Branch class
Constructors
Properties
- condition → String?
-
条件 (可�? - 简单的布尔表达式,例如 "money >= 100"
final
- description → String
-
分支描述
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
分支ID
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetSceneId → String?
-
目标场景ID
final
-
valueEffects
→ Map<
String, String> ? -
数值影�?
Key: 变量�?
Value: 操作表达�?(e.g., "+10", "-5", "true", "some_string")
final
Methods
-
execute(
Map< String, dynamic> variables) → void - 执行分支,修改传入的变量上下�?
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited