InternalNode class
A class representing an internal node in a decision tree.
- Inheritance
-
- Object
- Node
- DecisionNode
- InternalNode
Constructors
-
InternalNode({required String id, required String decision, required Map<
String, Option> options, String? hint, String? information}) - Creates an InternalNode with the specified attributes.
Properties
- decision → String
-
A description of the decision point at this node.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hint → String?
-
A hint or additional information related to the decision.
final
- id → String
-
A unique identifier for this node.
finalinherited
- information → String?
-
Detailed information about the decision.
final
-
options
→ Map<
String, Option> -
A map of possible options, where the keys are option IDs and the values
are Option objects representing the available choices.
finalinherited
- 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