GoogleCloudMlV1MetricSpec.fromJson constructor

GoogleCloudMlV1MetricSpec.fromJson(
  1. Map json_
)

Implementation

GoogleCloudMlV1MetricSpec.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        target:
            json_.containsKey('target') ? json_['target'] as core.int : null,
      );