Currency typedef

Currency = ({String code, int decimalDigits, String decimalSeparator, String? flag, bool hasSpace, String name, String symbol, bool symbolOnLeft, String thousandsSeparator})

Implementation

typedef Currency = ({
  // Unified code
  String code,
  // Name
  String name,
  // Currency symbol
  String symbol,
  // `true` for the left position of the symbol
  bool symbolOnLeft,
  // Regional Indicator Symbol (Flag, Emoji Unicode)
  String? flag,
  // Decimal digits
  int decimalDigits,
  // Decimal separator
  String decimalSeparator,
  // Thousands separator
  String thousandsSeparator,
  // True if symbol has space with amount
  bool hasSpace,
});