Poll<T extends Object> constructor

const Poll<T extends Object>({
  1. required String title,
  2. required List<PollOption<T>> options,
  3. DateTime? endsAt,
  4. bool allowsMultipleAnswers = false,
  5. bool isEditable = false,
})

Implementation

const Poll({
  required this.title,
  required this.options,
  this.endsAt,
  this.allowsMultipleAnswers = false,
  this.isEditable = false,
});