toDollar method

String toDollar()

Implementation

String toDollar() =>
    NumberFormat.currency(locale: 'en', symbol: '\$', decimalDigits: 0)
        .format(int.parse(this));