Currency constructor Null safety

Currency(
  1. {required String code,
  2. required String name,
  3. required String symbol,
  4. required String? flag,
  5. required int number,
  6. required int decimalDigits,
  7. required String namePlural,
  8. required bool symbolOnLeft,
  9. required String decimalSeparator,
  10. required String thousandsSeparator,
  11. required bool spaceBetweenAmountAndSymbol}
)

Implementation

Currency({
  required this.code,
  required this.name,
  required this.symbol,
  required this.flag,
  required this.number,
  required this.decimalDigits,
  required this.namePlural,
  required this.symbolOnLeft,
  required this.decimalSeparator,
  required this.thousandsSeparator,
  required this.spaceBetweenAmountAndSymbol,
});