# getAllCurrencies static method

List<Currency> getAllCurrencies()

Returns a list of all available Currency instances.

Example:

    final currencies = Currency.getAllCurrencies();
    for (final currency in currencies) {
      print('${currency.currencyCode}: ${currency.displayName}');
    }

## Implementation

    static List<Currency> getAllCurrencies() {
      return CurrencyDatabase.getAllCurrencyCodes()
          .map((code) => getInstance(code))
          .toList();
    }