GoogleCloudAiplatformV1Measurement.fromJson constructor

GoogleCloudAiplatformV1Measurement.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1Measurement.fromJson(core.Map json_)
    : this(
        elapsedDuration: json_.containsKey('elapsedDuration')
            ? json_['elapsedDuration'] as core.String
            : null,
        metrics: json_.containsKey('metrics')
            ? (json_['metrics'] as core.List)
                .map((value) =>
                    GoogleCloudAiplatformV1MeasurementMetric.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        stepCount: json_.containsKey('stepCount')
            ? json_['stepCount'] as core.String
            : null,
      );