operator unary- method
The unary minus operator returns a Quantity whose value is the negative of this Quantity's value.
Implementation
Quantity operator -() => dimensions.toQuantity(valueSI * -1, preferredUnits, _ur);
The unary minus operator returns a Quantity whose value is the negative of this Quantity's value.
Quantity operator -() => dimensions.toQuantity(valueSI * -1, preferredUnits, _ur);