ConditionalBranch class
One arm of a ConditionalStatement.
Constructors
-
ConditionalBranch({String? condition, required List<
DialogueStatement> body}) -
A branch running
bodywhenconditionholds; the<<else>>branch whenconditionis null.const
Properties
-
body
→ List<
DialogueStatement> -
Statements executed when this branch is the one taken.
final
- condition → String?
-
Yarn expression string, or
nullfor the<<else>>branch.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited