GoogleCloudDialogflowV2IntentMessageCarouselSelectItem.fromJson constructor

GoogleCloudDialogflowV2IntentMessageCarouselSelectItem.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2IntentMessageCarouselSelectItem.fromJson(
    core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        image: json_.containsKey('image')
            ? GoogleCloudDialogflowV2IntentMessageImage.fromJson(
                json_['image'] as core.Map<core.String, core.dynamic>)
            : null,
        info: json_.containsKey('info')
            ? GoogleCloudDialogflowV2IntentMessageSelectItemInfo.fromJson(
                json_['info'] as core.Map<core.String, core.dynamic>)
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );