MastodonStatusEditPoll class

Poll snapshot within the edit history.

Unlike MastodonPoll, this is an options-only structure without vote results.

Annotations

Constructors

MastodonStatusEditPoll({required List<MastodonStatusEditPollOption> options})
const
MastodonStatusEditPoll.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
options List<MastodonStatusEditPollOption>
List of poll options.
final
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>
Serializes to JSON.
toString() String
A string representation of this object.
inherited

Operators

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