currencyFormat property

String get currencyFormat

Implementation

String get currencyFormat {
  if (this == null) {
    return "0.0";
  }
  final num = (this! / 100).toStringAsFixed(2);
  return Decimal.parse(num).toString();
}