getBypassApps method

  1. @override
Future<List<String>> getBypassApps()
override

Get list of apps in bypass

Implementation

@override
Future<List<String>> getBypassApps() async {
  try {
    final apps = await methodChannel.invokeMethod<List<dynamic>>('getBypassApps');
    if (apps != null) {
      return apps.cast<String>();
    }
    return [];
  } catch (e) {
    debugPrint('Error getting bypass apps: $e');
    return [];
  }
}