PollUpdateParams constructor

PollUpdateParams({
  1. String? title,
  2. PollData? data,
  3. bool? allowUserSuggestion,
  4. bool? allowMultipleVotes,
  5. int closeAt = -1,
})

Implementation

PollUpdateParams({
  this.title,
  this.data,
  this.allowUserSuggestion,
  this.allowMultipleVotes,
  this.closeAt = -1,
}) : assert((title?.length ?? 0) <= 2000);