ProcessDetails constructor

ProcessDetails(
  1. int pid,
  2. String name,
  3. String memory
)

Create a ProcessDetails object that represents a running process.

Implementation

ProcessDetails(this.pid, this.name, String memory) {
  _memory = int.tryParse(memory) ?? 0;
}