AppInfo class
Class representing information about an app.
Constructors
- AppInfo(String name, Uint8List icon, String packageName, bool isSystemApp, ProfileType profile, int serialNumber)
- Constructor for the AppInfo class.
- AppInfo.create(dynamic data)
-
Factory constructor for creating an instance of AppInfo from dynamic data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon ↔ Uint8List
-
The icon of the app as a list of unsigned 8-bit integers.
getter/setter pair
- isSystemApp ↔ bool
-
A boolean value indicating whether the app is a system app.
getter/setter pair
- name ↔ String
-
The name of the app.
getter/setter pair
- packageName ↔ String
-
The package name of the app.
getter/setter pair
- profile ↔ ProfileType
-
The profile associated with the app.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serialNumber ↔ int
-
The serial number of the app.
getter/setter pair
Methods
-
compareTo(
AppInfo other) → int - Method for comparing this AppInfo instance with another based on name.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Method for converting this AppInfo instance to a string.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited