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