PollResults constructor

const PollResults({
  1. required bool min,
  2. required bool hasUnreadVotes,
  3. required bool canViewStats,
  4. List<PollAnswerVotersBase>? results,
  5. int? totalVoters,
  6. List<PeerBase>? recentVoters,
  7. String? solution,
  8. List<MessageEntityBase>? solutionEntities,
  9. MessageMediaBase? solutionMedia,
})

Poll Results constructor.

Implementation

const PollResults({
  required this.min,
  required this.hasUnreadVotes,
  required this.canViewStats,
  this.results,
  this.totalVoters,
  this.recentVoters,
  this.solution,
  this.solutionEntities,
  this.solutionMedia,
}) : super._();