operator * method

  1. @override
Quantity operator *(
  1. dynamic multiplier
)
override

Returns the product of this quantity and multiplier, which is expected to be either a Quantity, num or Number object. All other types will cause a QuantityException to be thrown.

  • This Quantity object is unaffected.
  • The uncertainty of the resulting product Quantity is equal to the relative combined standard uncertainty, defined as the square root of the sum of the squares of the two quantities' relative standard uncertainties.

Implementation

@override
Quantity operator *(dynamic multiplier) => snapshot * multiplier;