startV2Ray method
Future<void>
startV2Ray({
- required String remark,
- required String config,
- required String notificationDisconnectButtonName,
- List<
String> ? failoverConfigs, - int? failoverThresholdMs,
- int? healthCheckIntervalMs,
- List<
String> ? blockedApps, - List<
String> ? allowedApps, - List<
String> ? bypassSubnets, - List<
String> ? routes, - List<
String> ? excludeRoutes, - List<
String> ? dnsServers, - bool enableWatchdog = true,
- bool preferDoH = false,
- String? dohUrl,
- List<
String> ? dohBootstrap, - bool enableFakeDNS = false,
- String? fakeIpPool,
- String? fakeIpPoolV6,
- bool enableIPv6 = true,
- bool proxyOnly = false,
- bool showSpeedInNotification = true,
- bool allowInsecure = false,
Implementation
Future<void> startV2Ray({
required String remark,
required String config,
required String notificationDisconnectButtonName,
List<String>? failoverConfigs,
int? failoverThresholdMs,
int? healthCheckIntervalMs,
List<String>? blockedApps,
List<String>? allowedApps,
List<String>? bypassSubnets,
List<String>? routes,
List<String>? excludeRoutes,
List<String>? dnsServers,
bool enableWatchdog = true,
bool preferDoH = false,
String? dohUrl,
List<String>? dohBootstrap,
bool enableFakeDNS = false,
String? fakeIpPool,
String? fakeIpPoolV6,
bool enableIPv6 = true,
bool proxyOnly = false,
bool showSpeedInNotification = true,
bool allowInsecure = false,
}) {
throw UnimplementedError('startV2Ray() has not been implemented.');
}