AppRunningContext class

Represents the running application's detail information.

Constructors

AppRunningContext({required String appId, int handleAddress = 0})
Creates an instance of AppRunningContext with application ID and handle address.

Properties

appId String
The ID of the application.
final
appState AppState
Gets the current app state of the application.
no setter
hashCode int
The hash code for this object.
no setterinherited
isTerminated bool
Returns true if the application is not running.
no setter
packageId String
Gets the package ID of the application.
no setter
processId int
Gets the process ID of the application.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resume() → void
Sends a resume request to the application if it is not running.
terminate({bool background = false}) → void
Sends a terminate request to the application.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromMap(dynamic map) AppRunningContext
Creates an instance of AppRunningContext with map.