GoogleCloudAiplatformV1Tool.fromJson constructor
GoogleCloudAiplatformV1Tool.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1Tool.fromJson(core.Map json_)
: this(
functionDeclarations: json_.containsKey('functionDeclarations')
? (json_['functionDeclarations'] as core.List)
.map((value) =>
GoogleCloudAiplatformV1FunctionDeclaration.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
googleSearchRetrieval: json_.containsKey('googleSearchRetrieval')
? GoogleCloudAiplatformV1GoogleSearchRetrieval.fromJson(
json_['googleSearchRetrieval']
as core.Map<core.String, core.dynamic>)
: null,
retrieval: json_.containsKey('retrieval')
? GoogleCloudAiplatformV1Retrieval.fromJson(
json_['retrieval'] as core.Map<core.String, core.dynamic>)
: null,
);