PollUpdateParams class Null safety

Annotations

Constructors

PollUpdateParams({String? title, PollData? data, bool? allowUserSuggestion, bool? allowMutipleVotes, int closeAt = -1})

Properties

allowMutipleVotes ↔ bool?
Whether to allow multiple vote casting. Default is NO
read / write
allowUserSuggestion ↔ bool?
Whether to allow user-suggested options. Default is false
read / write
closeAt ↔ int
Unix timestamp at which the poll will close (millisecond)
read / write
data ↔ PollData?
An additional text to accompany the poll.
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
title ↔ String?
Title of a poll
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited