copyWith method
Copies this Engagement to a new instance.
Implementation
@override
Engagement copyWith({
Content? content,
String? label,
int? score,
int? boost,
List<Feature>? features,
FeedId? feedId,
String? location,
int? position,
String? trackedAt,
UserData? userData,
}) =>
Engagement(
content: content ?? this.content,
label: label ?? this.label,
score: score ?? this.score,
boost: boost ?? this.boost,
features: features ?? this.features,
feedId: feedId ?? this.feedId,
location: location ?? this.location,
position: position ?? this.position,
trackedAt: trackedAt ?? this.trackedAt,
userData: userData ?? this.userData,
);