toNegativeUnicode method
The negative Unicode representation of this num.
Example:
1.1.toNegativeUnicode() == '1.1'
0.toNegativeUnicode() == '0'
(-5).toNegativeUnicode() == '−5'
(-10.27).toNegativeUnicode(1) == '−10.3'
Implementation
String toNegativeUnicode([int? fractionDigits]) => isNegative
? '$minusSign${_formatted(fractionDigits)}'
: _formatted(fractionDigits);