mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-03 15:37:18 +00:00
25 lines
553 B
Dart
25 lines
553 B
Dart
import 'package:selfprivacy/logic/models/hive/server_details.dart';
|
|
import 'package:selfprivacy/logic/models/hive/server_domain.dart';
|
|
|
|
class ServerProviderSettings {
|
|
ServerProviderSettings({
|
|
required this.provider,
|
|
this.isAuthorized = false,
|
|
this.location,
|
|
});
|
|
|
|
final bool isAuthorized;
|
|
final ServerProviderType provider;
|
|
final String? location;
|
|
}
|
|
|
|
class DnsProviderSettings {
|
|
DnsProviderSettings({
|
|
required this.provider,
|
|
this.isAuthorized = false,
|
|
});
|
|
|
|
final bool isAuthorized;
|
|
final DnsProviderType provider;
|
|
}
|