From 9da6a7226590782dd67a517b4bec90faaa5897eb Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 3 Mar 2021 14:18:58 +0100 Subject: [PATCH] expose application constructor --- lib/device_apps.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/device_apps.dart b/lib/device_apps.dart index 18b41f9..c47fe85 100644 --- a/lib/device_apps.dart +++ b/lib/device_apps.dart @@ -52,6 +52,10 @@ class DeviceApps { }); } + static Application mockApplications(Map appEntry) { + return Application._(appEntry); + } + /// Provide all information for a given app by its [packageName] /// [includeAppIcon] will also include the icon for the app. /// To get it, you have to cast the object to [ApplicationWithIcon].