formatDecimal method Null safety
- int number
override
Formats number
as a decimal, inserting locale-appropriate thousands
separators as necessary.
Implementation
@override
String formatDecimal(int number) {
return _decimalFormat.format(number);
}