GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard.fromJson constructor

GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard.fromJson(
    core.Map json_)
    : this(
        imageDisplayOptions: json_.containsKey('imageDisplayOptions')
            ? json_['imageDisplayOptions'] as core.String
            : null,
        items: json_.containsKey('items')
            ? (json_['items'] as core.List)
                .map((value) =>
                    GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );