getCurrency function
Return the Currency Type TODO: Should be able to set other Currency Types
Implementation
String getCurrency([CurrencyType? type, String? optionalCurrency]) {
///Ensure that either [type] or [optionalCurrency] must be provided.
assert((type != null) | (optionalCurrency != null));
switch (type) {
case CurrencyType.usd:
return 'USD';
default:
return optionalCurrency!;
}
}