GoogleCloudMlV1Measurement.fromJson constructor

GoogleCloudMlV1Measurement.fromJson(
  1. Map json_
)

Implementation

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