TweetPollParam class
The object that contains options for a Tweet with a poll.
This is mutually exclusive from Media and Quote Tweet ID.
Constructors
-
TweetPollParam({required Duration duration, required List<
String> options}) - Returns the new instance of TweetPollParam.
Properties
- duration → Duration
-
Duration of the poll for a Tweet with a poll.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
options
→ List<
String> -
A list of poll options for a Tweet with a poll.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited