cake_wallet/lib/view_model/settings/tor_connection.dart
Matthew Fosse 533b978ac1 test build
2024-01-02 12:10:54 -05:00

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),
];
}