mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-18 14:49:15 +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;
|
|
}
|