GoogleCloudAiplatformV1GroundingAttribution.fromJson constructor

GoogleCloudAiplatformV1GroundingAttribution.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1GroundingAttribution.fromJson(core.Map json_)
    : this(
        confidenceScore: json_.containsKey('confidenceScore')
            ? (json_['confidenceScore'] as core.num).toDouble()
            : null,
        segment: json_.containsKey('segment')
            ? GoogleCloudAiplatformV1Segment.fromJson(
                json_['segment'] as core.Map<core.String, core.dynamic>)
            : null,
        web: json_.containsKey('web')
            ? GoogleCloudAiplatformV1GroundingAttributionWeb.fromJson(
                json_['web'] as core.Map<core.String, core.dynamic>)
            : null,
      );