EnrichmentFlags class

Flags to indicate the API to enrich activities with additional info like user reactions and count

Constructors

EnrichmentFlags()

Properties

hashCode int
The hash code for this object.
no setterinherited
params Map<String, Object?>
Serialize enrichment flags to a dictionary
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reactionKindFilter(Iterable<String> kinds) EnrichmentFlags
Filter reactions by kinds
toString() String
A string representation of this object.
inherited
withOwnChildren() EnrichmentFlags
If called activity object will have attribute "own_children" that contains children reactions of the user
withOwnReactions() EnrichmentFlags
If called activity object will have attribute "own_reactions" that contains list of reactions created by the user himself.
withReactionCounts() EnrichmentFlags
If called activity object will have attribute "reaction_counts"
withRecentReactions([int? limit]) EnrichmentFlags
If called activity object will have attribute "latest_reactions" that contains list of recently created reactions
withUserChildren(String userId) EnrichmentFlags
If called activity object will have attribute "with_own_children"
withUserReactions(String userId) EnrichmentFlags
If called activity object will have attribute "own_reactions" that contains list of reactions of other users.

Operators

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