ProcessInfo.fromJson constructor

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

Implementation

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