PollVoteList class
Represents a list of poll votes with a query and state.
The primary interface for working with poll vote lists in the Stream Feeds SDK that provides functionality for querying and managing collections of poll votes with pagination support.
Each poll vote list instance is associated with a specific poll and maintains its own state that can be observed for real-time updates. The poll vote list state includes votes and pagination information.
- Mixed-in types
Properties
-
eventsEmitter
→ SharedEmitter<
WsEvent> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDisposed → bool
-
Returns
trueif this object has been disposed.no setterinherited -
notifier
→ StateNotifier<
PollVoteListState> -
no setter
- pollsRepository → PollsRepository
-
final
- query → PollVotesQuery
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → PollVoteListState
-
no setter
-
stream
→ Stream<
PollVoteListState> -
no setter
Methods
-
dispose(
) → void -
Disposes of this object.
override
-
get(
) → Future< Result< List< >PollVoteData> > - Queries the initial list of poll votes based on the provided query.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryMorePollVotes(
{int? limit}) → Future< Result< List< >PollVoteData> > - Loads more poll votes based on the current pagination state.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited