formatWithCurrency method
Implementation
@override
String formatWithCurrency(double value,
[Currency? curr,
int numberOfDecimals = 2,
bool ignoreDecimalIfZero = true]) {
final currency = curr ?? getCurrencyByCodeOrDefault();
return '${currency.symbolPosition.isBefore ? currency.symbol : ''}${value.format(numberOfDecimals, ignoreDecimalIfZero)}${currency.symbolPosition.isAfter ? ' ${currency.symbol}' : ''}';
}