DenomUnit constructor
Implementation
factory DenomUnit({
$core.String? denom,
$core.int? exponent,
$core.Iterable<$core.String>? aliases,
}) {
final _result = create();
if (denom != null) {
_result.denom = denom;
}
if (exponent != null) {
_result.exponent = exponent;
}
if (aliases != null) {
_result.aliases.addAll(aliases);
}
return _result;
}