GoogleCloudDialogflowV2IntentMessageListSelect.fromJson constructor

GoogleCloudDialogflowV2IntentMessageListSelect.fromJson(
  1. Map json_
)

Implementation

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