RatioProperty<T extends Enum, N, D> constructor
RatioProperty<T extends Enum, N, D> ({})
Implementation
RatioProperty(
{required this.numeratorProperty,
required this.denominatorProperty,
required this.mapSymbols,
name,
this.significantFigures = 10,
this.removeTrailingZeros = true,
this.useScientificNotation = true}) {
size = mapSymbols.length;
this.name = name;
size = mapSymbols.length;
for (var unit in mapSymbols.keys) {
_unitList.add(Unit(unit, symbol: mapSymbols[unit]));
}
}