MeteringState.fromJson constructor

MeteringState.fromJson(
  1. Map json_
)

Implementation

MeteringState.fromJson(core.Map json_)
    : this(
        lastMeasurementTime: json_['lastMeasurementTime'] as core.String?,
        preciseLastMeasuredClusterVcpuCapacity:
            (json_['preciseLastMeasuredClusterVcpuCapacity'] as core.num?)
                ?.toDouble(),
      );