unitString property

String get unitString

Returns a human readable string representation of this number's units.

Implementation

String get unitString =>
    hasUnits ? _unitString(numeratorUnits, denominatorUnits) : '';