formatInteger static method

String formatInteger(
  1. int value
)

Formata um nĂºmero inteiro com separadores de milhares

value - Valor inteiro

Implementation

static String formatInteger(int value) {
  return value.toString().replaceAll(_currencyRegex, r'$1.');
}