SuggestSmartRepliesRequest constructor

SuggestSmartRepliesRequest({
  1. String? parent,
  2. String? latestMessage,
  3. int? contextSize,
  4. TextInput? currentTextInput,
})

Implementation

factory SuggestSmartRepliesRequest({
  $core.String? parent,
  $core.String? latestMessage,
  $core.int? contextSize,
  $9.TextInput? currentTextInput,
}) {
  final _result = create();
  if (parent != null) {
    _result.parent = parent;
  }
  if (latestMessage != null) {
    _result.latestMessage = latestMessage;
  }
  if (contextSize != null) {
    _result.contextSize = contextSize;
  }
  if (currentTextInput != null) {
    _result.currentTextInput = currentTextInput;
  }
  return _result;
}