GoogleCloudDialogflowV2IntentMessageSimpleResponses.fromJson constructor

GoogleCloudDialogflowV2IntentMessageSimpleResponses.fromJson(
  1. Map json_
)

Implementation

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