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