derive method

  1. @override
Units derive(
  1. String fullPrefix,
  2. String abbrevPrefix,
  3. double conv
)
override

Derive InformationUnits using this InformationUnits object as the base.

Implementation

@override
Units derive(String fullPrefix, String abbrevPrefix, double conv) =>
    InformationUnits(
        '$fullPrefix$name',
        abbrev1 != null ? '$abbrevPrefix$abbrev1' : null,
        abbrev2 != null ? '$abbrevPrefix$abbrev2' : null,
        '$fullPrefix$singular',
        valueSI * conv,
        false,
        offset);