AndroidAppInstallSourceInfo class
Information about how an app was installed.
Constructors
- AndroidAppInstallSourceInfo({String? installingPackageName, String? initiatingPackageName, String? originatingPackageName, int? packageSource, String? updateOwnerPackageName})
-
Creates installation source information with optional platform metadata.
const
-
AndroidAppInstallSourceInfo.fromMap(Map<
String, Object?> m) -
Creates installation source information from a platform map.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- initiatingPackageName → String?
-
The package that requested installation (Android API 30+).
final
- installingPackageName → String?
-
The installer of record, or null when unavailable.
final
- originatingPackageName → String?
-
The package on whose behalf installation was requested (Android API 30+).
final
- packageSource → int?
-
Raw Android PackageInstaller.PACKAGE_SOURCE_* value (API 33+).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updateOwnerPackageName → String?
-
The package owning updates (Android API 34+), or null when unavailable.
final
Methods
-
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