l10n property

String get l10n

Returns a symbol of this Currency.

Implementation

String get l10n => switch (val) {
  'XXX' => '¤',
  'USD' => '\$',
  'EUR' => '€',
  (_) => val,
};