GoogleCloudAiplatformV1ExplanationMetadataInputMetadataVisualization.fromJson constructor

GoogleCloudAiplatformV1ExplanationMetadataInputMetadataVisualization.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ExplanationMetadataInputMetadataVisualization.fromJson(
    core.Map json_)
    : this(
        clipPercentLowerbound: json_.containsKey('clipPercentLowerbound')
            ? (json_['clipPercentLowerbound'] as core.num).toDouble()
            : null,
        clipPercentUpperbound: json_.containsKey('clipPercentUpperbound')
            ? (json_['clipPercentUpperbound'] as core.num).toDouble()
            : null,
        colorMap: json_.containsKey('colorMap')
            ? json_['colorMap'] as core.String
            : null,
        overlayType: json_.containsKey('overlayType')
            ? json_['overlayType'] as core.String
            : null,
        polarity: json_.containsKey('polarity')
            ? json_['polarity'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );