GoogleCloudAiplatformV1SafetySetting.fromJson constructor

GoogleCloudAiplatformV1SafetySetting.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1SafetySetting.fromJson(core.Map json_)
    : this(
        category: json_.containsKey('category')
            ? json_['category'] as core.String
            : null,
        method: json_.containsKey('method')
            ? json_['method'] as core.String
            : null,
        threshold: json_.containsKey('threshold')
            ? json_['threshold'] as core.String
            : null,
      );