CpuUtilization.fromJson constructor

CpuUtilization.fromJson(
  1. Map json_
)

Implementation

CpuUtilization.fromJson(core.Map json_)
    : this(
        aggregationWindowLength: json_.containsKey('aggregationWindowLength')
            ? json_['aggregationWindowLength'] as core.String
            : null,
        targetUtilization: json_.containsKey('targetUtilization')
            ? (json_['targetUtilization'] as core.num).toDouble()
            : null,
      );