hasCurrency static method

bool hasCurrency(
  1. String code
)

Check if a currency exists

Implementation

static bool hasCurrency(String code) {
  _initializeDefaultCurrencies();
  return _currencies.containsKey(code.toUpperCase());
}