GoogleCloudAiplatformV1GroundingChunk.fromJson constructor

GoogleCloudAiplatformV1GroundingChunk.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1GroundingChunk.fromJson(core.Map json_)
  : this(
      maps: json_.containsKey('maps')
          ? GoogleCloudAiplatformV1GroundingChunkMaps.fromJson(
              json_['maps'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      retrievedContext: json_.containsKey('retrievedContext')
          ? GoogleCloudAiplatformV1GroundingChunkRetrievedContext.fromJson(
              json_['retrievedContext']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      web: json_.containsKey('web')
          ? GoogleCloudAiplatformV1GroundingChunkWeb.fromJson(
              json_['web'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );