toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'threadId': threadId,
    'cpuUsage': cpuUsage,
    'userTime': userTime,
    'systemTime': systemTime,
    'runState': runState,
    'threadName': threadName,
    'isActive': isActive,
  };
}