MatexCountryMetadata constructor

const MatexCountryMetadata({
  1. required String id,
  2. required String currency,
  3. required String code,
  4. List<double>? vatRates,
})

Constructs a country's metadata.

id, currency, and code are required and must be non-empty strings. vatRates is optional and represents the VAT rates in the country.

Implementation

const MatexCountryMetadata({
  required this.id,
  required this.currency,
  required this.code,
  this.vatRates,
});