GoogleCloudMlV1MeasurementMetric.fromJson constructor

GoogleCloudMlV1MeasurementMetric.fromJson(
  1. Map json_
)

Implementation

GoogleCloudMlV1MeasurementMetric.fromJson(core.Map json_)
    : this(
        metric: json_.containsKey('metric')
            ? json_['metric'] as core.String
            : null,
        value: json_.containsKey('value')
            ? (json_['value'] as core.num).toDouble()
            : null,
      );