AngularSpeedUnits.angleTime constructor

AngularSpeedUnits.angleTime(
  1. AngleUnits au,
  2. TimeUnits tu
)

Constructs a instance based on angle and time units.

Implementation

AngularSpeedUnits.angleTime(AngleUnits au, TimeUnits tu) : super.misc(au.valueSI * tu.valueSI) {
  name = '${au.name} per ${tu.singular} squared';
  singular = '${au.singular} per ${tu.singular} squared';
  convToMKS = au.valueSI * tu.valueSI;
  abbrev1 = au.abbrev1 != null && tu.abbrev1 != null ? '${au.abbrev1} / ${tu.abbrev1}' : null;
  abbrev2 = au.abbrev2 != null && tu.abbrev2 != null ? '${au.abbrev2}${tu.abbrev2}' : null;
  metricBase = false;
  offset = 0.0;
}