asCurrency property

String get asCurrency

Implementation

String get asCurrency => toString().replaceAllMapped(RegExp(r'\B(?=(\d{3})+(?!\d))'), (_) => ',');