ActivityList class
Represents a list of activities with a query and state.
The primary interface for working with activity lists in the Stream Feeds SDK that provides functionality for querying and managing collections of activities with pagination support.
Each activity list instance is associated with a specific query and maintains its own state that can be observed for real-time updates. The activity list state includes activities and pagination information.
- Mixed-in types
Properties
- activitiesRepository → ActivitiesRepository
-
final
- capabilitiesRepository → CapabilitiesRepository
-
final
- currentUserId → String
-
final
-
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<
ActivityListState> -
no setter
- query → ActivitiesQuery
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → ActivityListState
-
no setter
-
stream
→ Stream<
ActivityListState> -
no setter
Methods
-
dispose(
) → void -
Disposes of this object.
override
-
get(
) → Future< Result< List< >ActivityData> > - Queries the initial list of activities based on the provided query.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryMoreActivities(
{int? limit}) → Future< Result< List< >ActivityData> > - Loads more activities based on the current pagination state.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited