GoogleChromeManagementV1CpuStatusReport.fromJson constructor

GoogleChromeManagementV1CpuStatusReport.fromJson(
  1. Map json_
)

Implementation

GoogleChromeManagementV1CpuStatusReport.fromJson(core.Map json_)
    : this(
        cpuTemperatureInfo: json_.containsKey('cpuTemperatureInfo')
            ? (json_['cpuTemperatureInfo'] as core.List)
                .map((value) =>
                    GoogleChromeManagementV1CpuTemperatureInfo.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        cpuUtilizationPct: json_.containsKey('cpuUtilizationPct')
            ? json_['cpuUtilizationPct'] as core.int
            : null,
        reportTime: json_.containsKey('reportTime')
            ? json_['reportTime'] as core.String
            : null,
        sampleFrequency: json_.containsKey('sampleFrequency')
            ? json_['sampleFrequency'] as core.String
            : null,
      );