ProcessManager class
Process & App Lifecycle Module.
Constructors
- ProcessManager(MethodChannel _channel, EventChannel _lifecycleStream)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
lifecycleStream
→ Stream<
String> -
Stream of app lifecycle state changes.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isProcessImportant(
) → Future< bool> - Checks if the process is declared 'important' by the system.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
wasRestartedAfterCrash(
) → Future< bool> - Checks if the app was recently restarted (e.g. after crash/kill).
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited