Question constructor

Question({
  1. Author? author,
  2. String? createTime,
  3. String? name,
  4. String? text,
  5. List<Answer>? topAnswers,
  6. int? totalAnswerCount,
  7. String? updateTime,
  8. int? upvoteCount,
})

Implementation

Question({
  this.author,
  this.createTime,
  this.name,
  this.text,
  this.topAnswers,
  this.totalAnswerCount,
  this.updateTime,
  this.upvoteCount,
});