getAllApps method
Implementation
@override
Future<List<AppInfo>> getAllApps() async {
final result = await methodChannel.invokeListMethod('getAllApps');
List<AppInfo> ourApps =
(result ?? []).map((e) => AppInfo.fromAndroidData(e)).toList();
return ourApps;
}