toMutable function

MutableQuantity toMutable(
  1. Quantity q
)

Create a MutableQuantity with the same value, dimensions and uncertainty as q.

Implementation

MutableQuantity toMutable(Quantity q) => MutableQuantity()..setEqualTo(q);