GoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi.fromJson constructor

GoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi.fromJson(
    core.Map json_)
    : this(
        documentations: json_.containsKey('documentations')
            ? (json_['documentations'] as core.List)
                .map((value) =>
                    GoogleCloudAiplatformV1PublisherModelDocumentation
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );