toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cStates != null) 'cStates': cStates!,
      if (currentScalingFrequencyKhz != null)
        'currentScalingFrequencyKhz': currentScalingFrequencyKhz!,
      if (idleDuration != null) 'idleDuration': idleDuration!,
      if (maxScalingFrequencyKhz != null)
        'maxScalingFrequencyKhz': maxScalingFrequencyKhz!,
    };