toString method

  1. @override
String toString({
  1. bool compact = false,
  2. bool decimal = true,
  3. String decimalDelimiter = '.',
  4. bool thousands = false,
  5. String thousandsDelimiter = ',',
})
override

This decimal formatted to a String. Delegates to format.

Implementation

@override
String toString(
        {bool compact = false,
        bool decimal = true,
        String decimalDelimiter = '.',
        bool thousands = false,
        String thousandsDelimiter = ','}) =>
    format(
        compact: compact,
        decimal: decimal,
        decimalDelimiter: decimalDelimiter,
        thousands: thousands,
        thousandsDelimiter: thousandsDelimiter);