Reaction constructor

const Reaction({
  1. String? id,
  2. String? kind,
  3. String? activityId,
  4. String? userId,
  5. String? parent,
  6. DateTime? createdAt,
  7. DateTime? updatedAt,
  8. List<FeedId>? targetFeeds,
  9. User? user,
  10. Map<String, Object>? targetFeedsExtraData,
  11. Map<String, Object>? data,
  12. Map<String, List<Reaction>>? latestChildren,
  13. Map<String, List<Reaction>>? ownChildren,
  14. Map<String, int>? childrenCounts,
})

Builds a Reaction.

Implementation

const Reaction({
  this.id,
  this.kind,
  this.activityId,
  this.userId,
  this.parent,
  this.createdAt,
  this.updatedAt,
  this.targetFeeds,
  this.user,
  this.targetFeedsExtraData,
  this.data,
  this.latestChildren,
  this.ownChildren,
  this.childrenCounts,
});