ProcessDetails constructor Null safety
Create a ProcessDetails object that represents a running process.
Implementation
ProcessDetails(this.pid, this.name, String memory) {
_memory = int.tryParse(memory) ?? 0;
}
Create a ProcessDetails object that represents a running process.
ProcessDetails(this.pid, this.name, String memory) {
_memory = int.tryParse(memory) ?? 0;
}