toJson method Null safety

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'code': code,
      'name': name,
      'symbol': symbol,
      'number': number,
      'flag': flag,
      'decimal_digits': decimalDigits,
      'name_plural': namePlural,
      'symbol_on_left': symbolOnLeft,
      'decimal_separator': decimalSeparator,
      'thousands_separator': thousandsSeparator,
      'space_between_amount_and_symbol': spaceBetweenAmountAndSymbol,
    };