ProcessDetails class Null safety
Represents a running Process. As processes are transitory by the time you access these details the process may no longer be running.
- Annotations
Constructors
- ProcessDetails(int pid, String name, String memory)
- Create a ProcessDetails object that represents a running process.
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, override
- memory → int
-
Get the virtual memory used by the processes.
May return zero if we are unable to determine the memory used.
read-only
- memoryUnits ↔ String?
-
The units the memory is defined in the process is currently consuming
late, final
- name → String
-
The process name.
final
- pid → int
-
The process id (pid) of this process
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
compareTo(
ProcessDetails other) → int - Compares to ProcessDetails via their pid.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
covariant ProcessDetails other) → bool -
The equality operator. [...]
override