Node class

Constructors

Node({List<Node> leafNodes = const [], double coefficientProduct = 1.0, double coefficientSum = 0.0, dynamic name, double? value, bool convertedNode = false, bool selectedNode = false, int conversionType = linearConversion, String? stringValue, int? base})

Properties

base ↔ int?
getter/setter pair
coefficientProduct ↔ double
getter/setter pair
coefficientSum ↔ double
getter/setter pair
conversionType ↔ int
getter/setter pair
convertedNode ↔ bool
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
leafNodes ↔ List<Node>
getter/setter pair
name ↔ dynamic
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectedNode ↔ bool
getter/setter pair
stringValue ↔ String?
getter/setter pair
value ↔ double?
getter/setter pair

Methods

clearAllValues() → void
Reset all the values of the nodes. Call it on the father node!
clearSelectedNode() → void
Reset selectedNode (false). Call it on the father node!
convert() → void
getByName(dynamic unitName) → Node?
Returns the Node with name == unitName. If it is not found, returns null
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetConvertedNode() → void
Reset convertedNode (false) for each non-selected node from high to low. Call it on the father node!
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited