ConversionNode<T> constructor

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

Implementation

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