ProcessDetails.fromJson constructor

ProcessDetails.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ProcessDetails.fromJson(Map<String, dynamic> json) {
  return ProcessDetails(
    launchedAt: json['LaunchedAt'] as String?,
    name: json['Name'] as String?,
    parentPid: json['ParentPid'] as int?,
    path: json['Path'] as String?,
    pid: json['Pid'] as int?,
    terminatedAt: json['TerminatedAt'] as String?,
  );
}