scaleToRateUnit method
Scales input
, which is assumed to be a rated unit of measurement, so that its rate is rateUnit
.
This method is irrelevant to non rated units of measurement, which can simply throw UnsupportedError.
Implementation
@override
Area scaleToRateUnit(Area input, RateUnit rateUnit) =>
throw UnsupportedError('Cannot scale Area to a RateUnit');