EnrichedReaction constructor
EnrichedReaction({
- required String activityId,
- Map<
String, int> childrenCounts = const {}, - Object? createdAt,
- Map<
String, Object> data = const {}, - String? id,
- required String kind,
- Map<
String, List< latestChildren = const {},EnrichedReaction> > - Map<
String, List< ownChildren = const {},EnrichedReaction> > - String? parent,
- List<
String> targetFeeds = const [], - Object? updatedAt,
- Data? user,
- 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,
});