GoogleCloudDialogflowV2SmartReplyAnswer.fromJson constructor

GoogleCloudDialogflowV2SmartReplyAnswer.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2SmartReplyAnswer.fromJson(core.Map json_)
    : this(
        answerRecord: json_.containsKey('answerRecord')
            ? json_['answerRecord'] as core.String
            : null,
        confidence: json_.containsKey('confidence')
            ? (json_['confidence'] as core.num).toDouble()
            : null,
        reply:
            json_.containsKey('reply') ? json_['reply'] as core.String : null,
      );