2022-10-16 00:51:10 +00:00
|
|
|
import 'package:selfprivacy/logic/models/hive/server_details.dart';
|
|
|
|
import 'package:selfprivacy/logic/models/hive/server_domain.dart';
|
|
|
|
|
2023-01-30 15:44:52 +00:00
|
|
|
class ServerProviderSettings {
|
|
|
|
ServerProviderSettings({
|
2022-10-16 00:51:10 +00:00
|
|
|
required this.provider,
|
|
|
|
this.location,
|
|
|
|
});
|
|
|
|
|
2023-01-30 15:44:52 +00:00
|
|
|
final ServerProviderType provider;
|
2022-10-16 00:51:10 +00:00
|
|
|
final String? location;
|
|
|
|
}
|
|
|
|
|
2023-01-30 15:44:52 +00:00
|
|
|
class DnsProviderFactorySettings {
|
|
|
|
DnsProviderFactorySettings({
|
2022-10-16 00:51:10 +00:00
|
|
|
required this.provider,
|
|
|
|
});
|
|
|
|
|
2023-01-30 15:44:52 +00:00
|
|
|
final DnsProviderType provider;
|
2022-10-16 00:51:10 +00:00
|
|
|
}
|