toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final map = <String, dynamic>{};
  map['cpu'] = cpu;
  map['date'] = date;
  map['error'] = error;
  map['maxConcurrent'] = maxConcurrent;
  map['maxTime'] = maxTime;
  map['meanTime'] = meanTime;
  map['memory'] = memory;
  map['minTime'] = minTime;
  map['queued'] = queued;
  map['rejected'] = rejected;
  map['sessionTimes'] = sessionTimes;
  map['successful'] = successful;
  map['timedout'] = timedout;
  map['totalTime'] = totalTime;
  map['unauthorized'] = unauthorized;
  map['unhealthy'] = unhealthy;
  map['units'] = units;
  return map;
}