Currency constructor

const Currency({
  1. required String code,
  2. required String symbol,
  3. required String name,
  4. int decimals = 2,
  5. bool symbolBefore = true,
  6. String thousandSeparator = ',',
  7. String decimalSeparator = '.',
})

Implementation

const Currency({
  required this.code,
  required this.symbol,
  required this.name,
  this.decimals = 2,
  this.symbolBefore = true,
  this.thousandSeparator = ',',
  this.decimalSeparator = '.',
});