mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-27 05:59:38 +00:00
14 lines
381 B
Dart
14 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),
|
|
];
|
|
}
|