PollOption constructor

PollOption({
  1. required String by,
  2. required int id,
  3. required int score,
  4. required int poll,
  5. required String text,
  6. required DateTime time,
  7. required ItemType type,
})

Implementation

PollOption({
  required this.by,
  required this.id,
  required this.score,
  required this.poll,
  required this.text,
  required this.time,
  required this.type,
});