factory ProcessInfo.fromJson(Map<String, dynamic> json) { return ProcessInfo( type: json['type'] as String, id: json['id'] as int, cpuTime: json['cpuTime'] as num, ); }