Engagement constructor

const Engagement({
  1. required Content content,
  2. required String label,
  3. int? score,
  4. int? boost,
  5. List<Feature>? features,
  6. FeedId? feedId,
  7. String? location,
  8. int? position,
  9. String? trackedAt,
  10. UserData? userData,
})

Builds an Engagement.

Implementation

const Engagement({
  required this.content,
  required this.label,
  this.score,
  this.boost,
  List<Feature>? features,
  FeedId? feedId,
  String? location,
  int? position,
  this.trackedAt,
  UserData? userData,
}) : super(
        features: features,
        feedId: feedId,
        location: location,
        position: position,
        userData: userData,
      );