App class

An application installed on the device. Depending on the Android version, some attributes may not be available.

Annotations
  • @JsonSerializable(includeIfNull: false, explicitToJson: true)

Constructors

App.new({String? name, String? packageName, String? versionName, int? versionCode, int? installTimeMillis})
App.fromAppInfo(AppInfo app)
Create an App object from an AppInfo object.
App.fromJson(Map<String, dynamic> json)
factory

Properties

builtWith String?
What framework the app was built with.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
installTimeMillis int?
The time at which the app was first installed in milliseconds.
getter/setter pair
name String?
Displayable name of the application.
getter/setter pair
packageName String?
The name of the application package.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
versionCode int?
Unique version id for the application.
getter/setter pair
versionName String?
Public name of the application (e.g., 1.0.0). The version name of this package, as specified by the manifest tag's versionName attribute.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited