isSupported static method
Returns true if the given currency code is supported.
Example:
print(Currency.isSupported('USD')); // true
print(Currency.isSupported('XYZ')); // false
Implementation
static bool isSupported(String currencyCode) {
return CurrencyDatabase.isSupported(currencyCode);
}