GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem.fromJson constructor

GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem.fromJson(
    core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        footer: json_.containsKey('footer')
            ? json_['footer'] as core.String
            : null,
        image: json_.containsKey('image')
            ? GoogleCloudDialogflowV2IntentMessageImage.fromJson(
                json_['image'] as core.Map<core.String, core.dynamic>)
            : null,
        openUriAction: json_.containsKey('openUriAction')
            ? GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction
                .fromJson(json_['openUriAction']
                    as core.Map<core.String, core.dynamic>)
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );