unitString property Null safety

String unitString

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

Implementation

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