mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-25 12:59:24 +00:00
15 lines
193 B
Dart
15 lines
193 B
Dart
enum Fiats {
|
|
USD
|
|
// etc
|
|
}
|
|
|
|
extension FiatExt on Fiats {
|
|
String get ticker {
|
|
switch (this) {
|
|
case Fiats.USD:
|
|
return "USD";
|
|
default:
|
|
return "-";
|
|
}
|
|
}
|
|
}
|