getAppsInstalled method

  1. @override
Future<String?> getAppsInstalled()
override

Implementation

@override
Future<String?> getAppsInstalled() async {
  try {
    final String? appsInstalled =
        await methodChannel.invokeMethod<String>('getAppsInstalled');
    return appsInstalled;
  } catch (e) {
    debugPrint("Failed to get apps installed: $e");
    return null;
  }
}