Mass.fromMetricTonnes constructor

const Mass.fromMetricTonnes(
  1. double tonnes
)

Returns a new Mass object from the number of tonnes.

Implementation

const Mass.fromMetricTonnes(double tonnes)
    : super(tonnes * _nanogramsPerMetricTonne);