GoogleCloudDialogflowV2SuggestSmartRepliesRequest.fromJson constructor

GoogleCloudDialogflowV2SuggestSmartRepliesRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2SuggestSmartRepliesRequest.fromJson(core.Map json_)
  : this(
      contextSize: json_['contextSize'] as core.int?,
      currentTextInput:
          json_.containsKey('currentTextInput')
              ? GoogleCloudDialogflowV2TextInput.fromJson(
                json_['currentTextInput']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      latestMessage: json_['latestMessage'] as core.String?,
    );