poll property
PollData?
get
poll
The poll associated with this activity, if any.
Contains poll information including options, votes, and poll state. This field is automatically updated when the activity has poll data.
Implementation
PollData? get poll => activity?.poll;