formatWithSign method
Implementation
String formatWithSign(
[int numberOfDecimals = 2, bool ignoreDecimalIfZero = true]) {
final price = formatWithoutSign(numberOfDecimals, ignoreDecimalIfZero);
final sign = value < 0
? '-'
: (value > 0)
? '+'
: '';
return '$sign$price';
}