Poll class

Annotations
  • @JsonSerializable(explicitToJson: true, fieldRename: FieldRename.snake)

Constructors

Poll()
Poll.fromJson(Map<String, dynamic> json)
factory

Properties

durationMinutes String?
Duration of poll in minutes.
getter/setter pair
endDatetime DateTime?
Time stamp (UTC) of when poll ends.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
options List<Option>?
An array of options, each having a poll position, and the text for that position.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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