GoogleCloudDialogflowV2IntentMessageSelectItemInfo.fromJson constructor

GoogleCloudDialogflowV2IntentMessageSelectItemInfo.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2IntentMessageSelectItemInfo.fromJson(core.Map json_)
    : this(
        key: json_.containsKey('key') ? json_['key'] as core.String : null,
        synonyms: json_.containsKey('synonyms')
            ? (json_['synonyms'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );