DytePollMessage class

Constructors

DytePollMessage.new({required String id, required String question, required bool anonymous, required bool hideVotes, required String createdBy, required List<DytePollOption> options, required List<String> voted})
DytePollMessage.fromJson(String source)
factory
DytePollMessage.fromMap(Map<String, dynamic> map)
factory

Properties

anonymous bool
final
createdBy String
final
hashCode int
The hash code for this object.
no setteroverride
hideVotes bool
final
id String
final
options List<DytePollOption>
final
question String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
voted List<String>
final

Methods

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

Operators

operator ==(covariant DytePollMessage other) bool
The equality operator.
override