GoogleCloudDialogflowV2SuggestSmartRepliesRequest.fromJson constructor

GoogleCloudDialogflowV2SuggestSmartRepliesRequest.fromJson(
  1. Map json_
)

Implementation

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