EnrichedActivity constructor

EnrichedActivity({
  1. Data? actor,
  2. String? foreignId,
  3. String? id,
  4. Map<String, List<EnrichedReaction>> latestReactions = const {},
  5. Data? object,
  6. Data? origin,
  7. Map<String, List<EnrichedReaction>> ownReactions = const {},
  8. Map<String, int> reactionCounts = const {},
  9. double? score,
  10. Data? target,
  11. Object? time,
  12. List<String> to = const [],
  13. String? verb,
})

Returns a new EnrichedActivity instance.

Implementation

EnrichedActivity({
  this.actor,
  this.foreignId,
  this.id,
  this.latestReactions = const {},
  this.object,
  this.origin,
  this.ownReactions = const {},
  this.reactionCounts = const {},
  this.score,
  this.target,
  this.time,
  this.to = const [],
  this.verb,
});