WithAutoReply constructor

WithAutoReply({
  1. Int64? id,
  2. String? title,
  3. Timestamp? createdTime,
  4. Iterable<MessageUnion>? answers,
})

Implementation

factory WithAutoReply({
  $fixnum.Int64? id,
  $core.String? title,
  $0.Timestamp? createdTime,
  $core.Iterable<MessageUnion>? answers,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (title != null) {
    $result.title = title;
  }
  if (createdTime != null) {
    $result.createdTime = createdTime;
  }
  if (answers != null) {
    $result.answers.addAll(answers);
  }
  return $result;
}