GroupedActivitiesManager<A, Ob, T, Or> class

Class to manage activities.

This is only used internally within GenericFeedBloc.

Annotations

Constructors

GroupedActivitiesManager()

Properties

hashCode int
The hash code for this object.
no setterinherited
paginatedParams Map<String, NextParams?>
A map of paginated results
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(String feedGroup, List<Group<GenericEnrichedActivity<A, Ob, T, Or>>> activities) → void
Add a list of activities to the correct controller based on feedGroup.
addError(String feedGroup, Object e, StackTrace stk) → void
Add an error event to the Stream based on feedGroup.
clearAllGroupedActivities(List<String> feedGroups) → void
Clear all controllers.
clearGroupedActivities(String feedGroup) → void
Clear activities for a given feedGroup.
close() → void
Close all controllers.
getActivities(String feedGroup) List<Group<GenericEnrichedActivity<A, Ob, T, Or>>>?
Convert the Stream of activities to a List of activities.
getStream(String feedGroup) Stream<List<Group<GenericEnrichedActivity<A, Ob, T, Or>>>>?
Retrieve Stream of activities with feedGroup.
hasValue(String feedGroup) bool
Check if controller is not empty for given feedGroup.
init(String feedGroup) → void
Init controller for given feedGroup.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update(String feedGroup, List<Group<GenericEnrichedActivity<A, Ob, T, Or>>> activities) → void
Update the correct controller with given activities based on feedGroup.

Operators

operator ==(Object other) bool
The equality operator.
inherited