name property
String
get
name
Implementation
String get name {
switch (this) {
case Currency.usd:
return 'USD';
case Currency.zwl:
return 'ZWL';
default:
throw ArgumentError('Invalid currency: $this');
}
}