getCurrency function
Implementation
String getCurrency(CurrencyType type) {
switch (type) {
case CurrencyType.usd:
return 'USD';
default:
return 'usd';
}
}
String getCurrency(CurrencyType type) {
switch (type) {
case CurrencyType.usd:
return 'USD';
default:
return 'usd';
}
}