GoogleCloudAiplatformV1GroundingMetadata.fromJson constructor

GoogleCloudAiplatformV1GroundingMetadata.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1GroundingMetadata.fromJson(core.Map json_)
    : this(
        groundingAttributions: json_.containsKey('groundingAttributions')
            ? (json_['groundingAttributions'] as core.List)
                .map((value) =>
                    GoogleCloudAiplatformV1GroundingAttribution.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        webSearchQueries: json_.containsKey('webSearchQueries')
            ? (json_['webSearchQueries'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );