selfprivacy.org.app/lib/logic/models/launch_installation_data.dart

27 lines
901 B
Dart

import 'package:selfprivacy/logic/api_maps/rest_maps/dns_providers/dns_provider.dart';
import 'package:selfprivacy/logic/models/hive/server_details.dart';
import 'package:selfprivacy/logic/models/hive/server_domain.dart';
import 'package:selfprivacy/logic/models/hive/user.dart';
class LaunchInstallationData {
LaunchInstallationData({
required this.rootUser,
required this.dnsApiToken,
required this.dnsProviderType,
required this.dnsProviderApi,
required this.serverDomain,
required this.serverTypeId,
required this.errorCallback,
required this.successCallback,
});
final User rootUser;
final String dnsApiToken;
final ServerDomain serverDomain;
final DnsProviderType dnsProviderType;
final DnsProviderApi dnsProviderApi;
final String serverTypeId;
final Function() errorCallback;
final Function(ServerHostingDetails details) successCallback;
}