CreateConversationRequest constructor

CreateConversationRequest({
  1. String? parent,
  2. Conversation? conversation,
  3. String? conversationId,
})

Implementation

factory CreateConversationRequest({
  $core.String? parent,
  Conversation? conversation,
  $core.String? conversationId,
}) {
  final _result = create();
  if (parent != null) {
    _result.parent = parent;
  }
  if (conversation != null) {
    _result.conversation = conversation;
  }
  if (conversationId != null) {
    _result.conversationId = conversationId;
  }
  return _result;
}