ChargeUnits.currentTime constructor
ChargeUnits.currentTime(
- CurrentUnits cu,
- TimeUnits tu
Constructs a instance from an electric current and time.
Implementation
ChargeUnits.currentTime(CurrentUnits cu, TimeUnits tu) : super.misc(cu.valueSI * tu.valueSI) {
name = '${cu.name} ${tu.name}';
singular = '${cu.singular} ${tu.singular}';
convToMKS = cu.valueSI * tu.valueSI;
abbrev1 = cu.abbrev1 != null && tu.abbrev1 != null ? '${cu.abbrev1}${tu.abbrev1}' : null;
abbrev2 = cu.abbrev2 != null && tu.abbrev2 != null ? '${cu.abbrev2}${tu.abbrev2}' : null;
metricBase = false;
offset = 0.0;
}