PollVote constructor

PollVote({
  1. String? answerText,
  2. required DateTime createdAt,
  3. required String id,
  4. bool? isAnswer,
  5. required String optionId,
  6. required String pollId,
  7. required DateTime updatedAt,
  8. UserObject? user,
  9. String? userId,
})

Returns a new PollVote instance.

Implementation

PollVote({
  this.answerText,
  required this.createdAt,
  required this.id,
  this.isAnswer,
  required this.optionId,
  required this.pollId,
  required this.updatedAt,
  this.user,
  this.userId,
});