derive method
Derive MolarEnergyUnits using this MolarEnergyUnits object as the base.
Implementation
@override
Units derive(String fullPrefix, String abbrevPrefix, double conv) =>
MolarEnergyUnits(
'$fullPrefix$name',
abbrev1 != null ? '$abbrevPrefix$abbrev1' : null,
abbrev2 != null ? '$abbrevPrefix$abbrev2' : null,
'$fullPrefix$singular',
valueSI * conv,
false,
offset);