toMutable function
Create a MutableQuantity with the same value, dimensions and uncertainty as q
.
Implementation
MutableQuantity toMutable(Quantity q) => MutableQuantity()..setEqualTo(q);
Create a MutableQuantity with the same value, dimensions and uncertainty as q
.
MutableQuantity toMutable(Quantity q) => MutableQuantity()..setEqualTo(q);