mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-29 15:09:23 +00:00
15 lines
381 B
Dart
15 lines
381 B
Dart
|
enum TorConnectionType { enabled, disabled, onionOnly }
|
||
|
|
||
|
class TorConnection {
|
||
|
TorConnection(this.name, this.type);
|
||
|
|
||
|
final String name;
|
||
|
final TorConnectionType type;
|
||
|
|
||
|
static final all = [
|
||
|
TorConnection("Enabled", TorConnectionType.enabled),
|
||
|
TorConnection("Disabled", TorConnectionType.disabled),
|
||
|
TorConnection("Onion Only", TorConnectionType.onionOnly),
|
||
|
];
|
||
|
}
|