PollAnswer constructor

const PollAnswer({
  1. required String pollId,
  2. required User? user,
  3. required List<int> optionIds,
  4. Chat? voterChat,
})

Constructs a PollAnswer object

Implementation

const PollAnswer({
  required this.pollId,
  required this.user,
  required this.optionIds,
  this.voterChat,
});