copyWith method
AddedReaction
copyWith({
- ReactionType? type,
- MessageSender? senderId,
- bool? isOutgoing,
- int? date,
Implementation
AddedReaction copyWith({
ReactionType? type,
MessageSender? senderId,
bool? isOutgoing,
int? date,
}) => AddedReaction(
type: type ?? this.type,
senderId: senderId ?? this.senderId,
isOutgoing: isOutgoing ?? this.isOutgoing,
date: date ?? this.date,
);