ISO4217Currency constructor
ISO4217Currency({})
Creates a new instance of ISO4217Currency.
The constructor initializes the currency with the provided code, numeric code, decimal digits, currency name, and the list of locations.
Example:
final usd = ISO4217Currency(
code: 'USD',
numCode: 840,
digits: 2,
currencyName: 'United States Dollar',
locations: ['United States', 'American Samoa', 'British Virgin Islands'],
);
Implementation
ISO4217Currency({
required this.code,
required this.numCode,
required this.digits,
required this.currencyName,
required this.locations,
});