ChromeOsDeviceCpuInfoLogicalCpusCStates.fromJson constructor

ChromeOsDeviceCpuInfoLogicalCpusCStates.fromJson(
  1. Map json_
)

Implementation

ChromeOsDeviceCpuInfoLogicalCpusCStates.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        sessionDuration: json_.containsKey('sessionDuration')
            ? json_['sessionDuration'] as core.String
            : null,
      );