GoogleCloudDialogflowCxV3TestCaseResult.fromJson constructor

GoogleCloudDialogflowCxV3TestCaseResult.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3TestCaseResult.fromJson(core.Map json_)
  : this(
      conversationTurns:
          (json_['conversationTurns'] as core.List?)
              ?.map(
                (value) => GoogleCloudDialogflowCxV3ConversationTurn.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
      environment: json_['environment'] as core.String?,
      name: json_['name'] as core.String?,
      testResult: json_['testResult'] as core.String?,
      testTime: json_['testTime'] as core.String?,
    );