Node class
Constructors
-
Node.new({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})
-
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