byCode method
Provides a PaylikeCurrency based on code
Implementation
PaylikeCurrency byCode(CurrencyCode code) {
var element = PaylikeCurrencyCollection.currencies[code];
if (element == null) {
throw MissingCurrencyException.fromCode(code);
}
return element;
}