fromName static method
- String? name
Implementation
static Currency? fromName(final String? name) {
if (name == null) {
return null;
}
for (final Currency currency in values) {
if (currency.name == name) {
return currency;
}
}
return null;
}