DytePollMessage constructor

DytePollMessage({
  1. required String id,
  2. required String question,
  3. required bool anonymous,
  4. required bool hideVotes,
  5. required String createdBy,
  6. required List<DytePollOption> options,
  7. required List<String> voted,
})

Implementation

DytePollMessage({
  required this.id,
  required this.question,
  required this.anonymous,
  required this.hideVotes,
  required this.createdBy,
  required this.options,
  required this.voted,
});