ProcessDetails class

Represents a running Process. As processes are transitory by the time you access these details the process may no longer be running.

Annotations
  • @immutable

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.
no setteroverride
memory int
Get the virtual memory used by the processes. May return zero if we are unable to determine the memory used.
no setter
memoryUnits String?
The units the memory is defined in the process is currently consuming
latefinal
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.
no setterinherited

Methods

compareTo(ProcessDetails other) int
Compares to ProcessDetails via their pid.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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