ActivitiesManager<A, Ob, T, Or> class
Class to manage activities.
This is only used internally within GenericFeedBloc
.
- Annotations
Constructors
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< GenericEnrichedActivity< activities) → voidA, Ob, T, Or> > - 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.
-
clearActivities(
String feedGroup) → void - Clear activities for a given feedGroup.
-
clearAllActivities(
List< String> feedGroups) → void - Clear all controllers.
-
close(
) → void - Close all controllers.
-
getActivities(
String feedGroup) → List< GenericEnrichedActivity< ?A, Ob, T, Or> > - Convert the Stream of activities to a List of activities.
-
getStream(
String feedGroup) → Stream< List< ?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< GenericEnrichedActivity< activities) → voidA, Ob, T, Or> > - Update the correct controller with given activities based on feedGroup.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited