Node constructor

Node({
  1. List<Node> leafNodes = const [],
  2. double coefficientProduct = 1.0,
  3. double coefficientSum = 0.0,
  4. dynamic name,
  5. double? value,
  6. String? stringValue,
  7. CONVERSION_TYPE conversionType = CONVERSION_TYPE.linearConversion,
  8. int? base,
  9. bool isConverted = false,
})

Implementation

Node({
  this.leafNodes = const [],
  this.coefficientProduct = 1.0,
  this.coefficientSum = 0.0,
  this.name,
  this.value,
  this.stringValue,
  this.conversionType = CONVERSION_TYPE.linearConversion,
  this.base,
  this.isConverted = false,
});