toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (batteryTemperatures != null)
        'batteryTemperatures': batteryTemperatures!,
      if (cpuTemperatures != null) 'cpuTemperatures': cpuTemperatures!,
      if (cpuUsages != null) 'cpuUsages': cpuUsages!,
      if (createTime != null) 'createTime': createTime!,
      if (fanSpeeds != null) 'fanSpeeds': fanSpeeds!,
      if (gpuTemperatures != null) 'gpuTemperatures': gpuTemperatures!,
      if (skinTemperatures != null) 'skinTemperatures': skinTemperatures!,
    };