GoogleCloudAiplatformV1Tool.fromJson constructor

GoogleCloudAiplatformV1Tool.fromJson(
  1. 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,
      );