PollOption constructor

PollOption({
  1. required int pollId,
  2. required int id,
  3. required String text,
  4. String? createdBy,
  5. required int createdAt,
  6. required int voteCount,
  7. required int updatedAt,
})

Implementation

PollOption({
  required this.pollId,
  required this.id,
  required this.text,
  this.createdBy,
  required this.createdAt,
  required this.voteCount,
  required this.updatedAt,
});