chore: Remove unused function from Desec API

This commit is contained in:
NaiJi 2023-06-19 14:59:46 -03:00
parent 0d49b89e43
commit 3fedb17553

View file

@ -4,7 +4,6 @@ import 'package:dio/dio.dart';
import 'package:selfprivacy/config/get_it_config.dart';
import 'package:selfprivacy/logic/api_maps/rest_maps/dns_providers/dns_provider.dart';
import 'package:selfprivacy/logic/models/hive/server_domain.dart';
import 'package:selfprivacy/logic/models/json/dns_records.dart';
class DesecApi extends DnsProviderApi {
DesecApi({
@ -171,15 +170,6 @@ class DesecApi extends DnsProviderApi {
return GenericResult(success: true, data: null);
}
String? extractContent(final DnsRecord record) {
String? content = record.content;
if (record.type == 'TXT' && content != null && !content.startsWith('"')) {
content = '"$content"';
}
return content;
}
Future<GenericResult<List>> getDomains() async {
List domains = [];