GoogleCloudDialogflowV2IntentMessageSuggestions.fromJson constructor

GoogleCloudDialogflowV2IntentMessageSuggestions.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2IntentMessageSuggestions.fromJson(core.Map json_)
    : this(
        suggestions: json_.containsKey('suggestions')
            ? (json_['suggestions'] as core.List)
                .map((value) =>
                    GoogleCloudDialogflowV2IntentMessageSuggestion.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );