getAppsWithIntent method
Implementation
@override
Future<List<AppInfo>> getAppsWithIntent(String action) async {
final List<dynamic>? appsMap = await methodChannel.invokeMethod(
'getAppsWithIntent',
{'action': action},
);
if (appsMap == null) return [];
return appsMap.map((map) => AppInfo.fromMap(map)).toList();
}