formatPrice function
Implementation
String formatPrice(int price){
//*
final Currency brlCurrency = Currency.create(
'BRL', 2, symbol: 'R\$', pattern: 'S 0,00', invertSeparators: true
);
final Money money = Money.fromIntWithCurrency(price, brlCurrency);
return money.toString();
}