Launch/inventory backend: works in BOTH flavors. The store flavor launches apps and deep links and lists launcher-visible apps; the QUERY_ALL_PACKAGES inventory exists only in god.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
allPackages(
) → Future< List< ?MobileAppEntry> > -
The full package inventory;
nullwhen this build lacks QUERY_ALL_PACKAGES (the store flavor — the tool answers with the honest gate reason instead, UT-pkg-1). -
launch(
{String? packageName, String? deepLink}) → Future< void> - Launches an app by package name or opens a deep link URI. Throws StateError with a message when nothing resolves.
-
launcherApps(
) → Future< List< MobileAppEntry> > -
Apps visible to the launcher (Play-safe: no QUERY_ALL_PACKAGES —
backed by the
<queries>LAUNCHER intent). -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited