Mass.fromMicrograms constructor

const Mass.fromMicrograms(
  1. double micrograms
)

Returns a new Mass object from the number of micrograms.

Implementation

const Mass.fromMicrograms(double micrograms)
    : super(micrograms * _nanogramsPerMicrogram);