removeSubnetFromBypass method
Remove subnet from bypass list
subnet - subnet in CIDR notation
Implementation
@override
Future<bool> removeSubnetFromBypass(String subnet) async {
try {
final result = await methodChannel.invokeMethod<bool>('removeSubnetFromBypass', {
'subnet': subnet,
});
return result ?? false;
} catch (e) {
debugPrint('Error removing subnet from bypass: $e');
return false;
}
}