DoubleProperty<T> constructor
DoubleProperty<T> ({})
Implementation
DoubleProperty(
{required this.conversionTree,
this.mapSymbols,
name,
this.significantFigures = 10,
this.removeTrailingZeros = true,
this.useScientificNotation = true}) {
this.name = name;
_nodeList = _getTreeAsList();
_mapUnits = {for (var node in _nodeList) node.name: node};
size = _nodeList.length;
for (var conversionNode in _nodeList) {
_unitList.add(
Unit(conversionNode.name, symbol: mapSymbols?[conversionNode.name]));
}
}