EnrichedReaction constructor

EnrichedReaction({
  1. required String activityId,
  2. Map<String, int> childrenCounts = const {},
  3. Object? createdAt,
  4. Map<String, Object> data = const {},
  5. String? id,
  6. required String kind,
  7. Map<String, List<EnrichedReaction>> latestChildren = const {},
  8. Map<String, List<EnrichedReaction>> ownChildren = const {},
  9. String? parent,
  10. List<String> targetFeeds = const [],
  11. Object? updatedAt,
  12. Data? user,
  13. required String userId,
})

Returns a new EnrichedReaction instance.

Implementation

EnrichedReaction({
  required this.activityId,
  this.childrenCounts = const {},
  this.createdAt,
  this.data = const {},
  this.id,
  required this.kind,
  this.latestChildren = const {},
  this.ownChildren = const {},
  this.parent,
  this.targetFeeds = const [],
  this.updatedAt,
  this.user,
  required this.userId,
});