mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-18 02:07:43 +00:00
16 lines
193 B
Dart
16 lines
193 B
Dart
|
enum Fiats {
|
||
|
USD
|
||
|
// etc
|
||
|
}
|
||
|
|
||
|
extension FiatExt on Fiats {
|
||
|
String get ticker {
|
||
|
switch (this) {
|
||
|
case Fiats.USD:
|
||
|
return "USD";
|
||
|
default:
|
||
|
return "-";
|
||
|
}
|
||
|
}
|
||
|
}
|