toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cpuTemperatureInfo != null)
        'cpuTemperatureInfo': cpuTemperatureInfo!,
      if (cpuUtilizationPercentageInfo != null)
        'cpuUtilizationPercentageInfo': cpuUtilizationPercentageInfo!,
      if (reportTime != null)
        'reportTime': reportTime!.toUtc().toIso8601String(),
    };