startV2Ray method
Future<void>
startV2Ray({
- required String remark,
- required String config,
- required String notificationDisconnectButtonName,
- List<
String> ? blockedApps, - List<
String> ? bypassSubnets, - bool proxyOnly = false,
override
Implementation
@override
Future<void> startV2Ray({
required String remark,
required String config,
required String notificationDisconnectButtonName,
List<String>? blockedApps,
List<String>? bypassSubnets,
bool proxyOnly = false,
}) async {
await methodChannel.invokeMethod('startV2Ray', {
"remark": remark,
"config": config,
"blocked_apps": blockedApps,
"bypass_subnets": bypassSubnets,
"proxy_only": proxyOnly,
"notificationDisconnectButtonName": notificationDisconnectButtonName,
});
}