format abstract method
Formats this number to a String.
- If
thousands
istrue
it will use thousands delimiters for thewholePart
. thousandsDelimiter
is the thousands delimiter.
Implementation
String format({bool thousands = true, String thousandsDelimiter = ','});